From b127ef18b34bd910e6c7795430f3b3336cc7d89b Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Thu, 6 Oct 2022 05:05:19 -0700 Subject: [PATCH] cosmo: expose `COSMO_DIST` so cosmocc can work well --- cosmo/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cosmo/Dockerfile b/cosmo/Dockerfile index ee18a2f..49c4d0c 100644 --- a/cosmo/Dockerfile +++ b/cosmo/Dockerfile @@ -177,3 +177,5 @@ RUN --mount=type=tmpfs,target=/tmp : \ FROM alpine:3.16 AS runner COPY --from=distrib /distrib /cosmopolitan ENV PATH="/cosmopolitan/bin:/cosmopolitan/gcc/bin/:/cosmopolitan/gcc/x86_64-linux-musl/bin/:$PATH" +ARG COSMO_FLAVOR +ENV COSMO_DIST="/cosmopolitan/dist/$COSMO_FLAVOR"