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" && \
|
RUN git config --global user.name "LLVM MinGW" && \
|
||||||
git config --global user.email root@localhost
|
git config --global user.email root@localhost
|
||||||
|
|
||||||
WORKDIR /build/llvm-mingw
|
WORKDIR /build
|
||||||
|
|
||||||
ARG CORES=4
|
ARG CORES=4
|
||||||
|
|
||||||
@@ -41,7 +41,6 @@ COPY build-compiler-rt.sh .
|
|||||||
RUN ./build-compiler-rt.sh $TOOLCHAIN_PREFIX
|
RUN ./build-compiler-rt.sh $TOOLCHAIN_PREFIX
|
||||||
|
|
||||||
# Build C test applications
|
# Build C test applications
|
||||||
WORKDIR /build
|
|
||||||
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH
|
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH
|
||||||
|
|
||||||
COPY test/*.c ./test/
|
COPY test/*.c ./test/
|
||||||
@@ -52,14 +51,10 @@ RUN cd test && \
|
|||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
|
|
||||||
WORKDIR /build/llvm-mingw
|
|
||||||
|
|
||||||
# Build libunwind/libcxxabi/libcxx
|
# Build libunwind/libcxxabi/libcxx
|
||||||
COPY build-libcxx.sh merge-archives.sh ./
|
COPY build-libcxx.sh merge-archives.sh ./
|
||||||
RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX
|
RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX
|
||||||
|
|
||||||
WORKDIR /build
|
|
||||||
|
|
||||||
# Build C++ test applications
|
# Build C++ test applications
|
||||||
COPY test/*.cpp ./test/
|
COPY test/*.cpp ./test/
|
||||||
RUN cd test && \
|
RUN cd test && \
|
||||||
|
|||||||
Reference in new issue
Block a user