Skip a redundant subdirectory in the docker image
This commit is contained in:
1 parent
166a2bab65
commit
511222e6b5
1 file changed
+1
-6
+1
-6
@@ -8,7 +8,7 @@ RUN apt-get update -qq && apt-get install -qqy \
|
||||
RUN git config --global user.name "LLVM MinGW" && \
|
||||
git config --global user.email root@localhost
|
||||
|
||||
WORKDIR /build/llvm-mingw
|
||||
WORKDIR /build
|
||||
|
||||
ARG CORES=4
|
||||
|
||||
@@ -41,7 +41,6 @@ COPY build-compiler-rt.sh .
|
||||
RUN ./build-compiler-rt.sh $TOOLCHAIN_PREFIX
|
||||
|
||||
# Build C test applications
|
||||
WORKDIR /build
|
||||
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH
|
||||
|
||||
COPY test/*.c ./test/
|
||||
@@ -52,14 +51,10 @@ RUN cd test && \
|
||||
done; \
|
||||
done
|
||||
|
||||
WORKDIR /build/llvm-mingw
|
||||
|
||||
# Build libunwind/libcxxabi/libcxx
|
||||
COPY build-libcxx.sh merge-archives.sh ./
|
||||
RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# Build C++ test applications
|
||||
COPY test/*.cpp ./test/
|
||||
RUN cd test && \
|
||||
|
||||
Reference in new issue
Block a user