Skip to content

Commit

Permalink
use ENV instead of RUN export
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmysun0815 committed Jun 13, 2022
1 parent 1474764 commit 6ecacbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions container/Dockerfile-fn-musl-macos
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ COPY . $WORK_DIR
WORKDIR $WORK_DIR
ENV OPENSSL_DIR /musl
RUN rustup target add x86_64-apple-darwin
RUN PATH="/opt/osxcross/target/bin:$PATH"
RUN export CC=o64-clang
RUN export CXX=o64-clang++
ENV PATH="/opt/osxcross/target/bin:$PATH"
ENV CC=o64-clang
ENV CXX=o64-clang++
RUN cargo build -p finutils --release --target x86_64-apple-darwin

CMD ["sleep", "999999"]

0 comments on commit 6ecacbc

Please sign in to comment.