Convert TOOLCHAIN_ARCHS from ENV to ARG

This allows overriding it with --build-arg.
This commit is contained in:
Martin Storsjö committed 2018-10-02 21:34:54 +03:00
1 parent 0a181a36a3
commit 6bb0cfca58
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ RUN ./build-llvm.sh $TOOLCHAIN_PREFIX
COPY strip-llvm.sh .
RUN ./strip-llvm.sh $TOOLCHAIN_PREFIX
ENV TOOLCHAIN_ARCHS="i686 x86_64 armv7 aarch64"
ARG TOOLCHAIN_ARCHS="i686 x86_64 armv7 aarch64"
# Install the usual $TUPLE-clang binaries
COPY wrappers/*.sh wrappers/*.c ./wrappers/