Use export

This commit is contained in:
Dominic Grimm 2023-12-02 10:17:37 +01:00
parent 70fde51c0f
commit 2692c25e5f

View file

@ -14,4 +14,4 @@ RUN wget -qO- https://github.com/rui314/mold/releases/download/v${MOLD_VERSION}/
&& rm -rf mold-${MOLD_VERSION}-x86_64-linux
RUN cargo install cargo-chef --version 0.1.62 --locked
WORKDIR /env
RUN echo MOLD=$(which mold) > .env
RUN echo "export MOLD=$(which mold)" > .env