cosmo: expose COSMO_DIST so cosmocc can work well

This commit is contained in:
Connor Olding 2022-10-06 05:05:19 -07:00
parent daba31d5dc
commit b127ef18b3

View file

@ -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"