cosmo: expose COSMO_DIST
so cosmocc can work well
This commit is contained in:
parent
daba31d5dc
commit
b127ef18b3
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue