mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-13 22:51:31 +01:00
common.docker: Optimize image size installing "conan" in existing RUN command
This commit is contained in:
parent
4dd933c35b
commit
6ac8097064
@ -38,7 +38,9 @@ RUN \
|
|||||||
/dockcross/build-and-install-cmake.sh \
|
/dockcross/build-and-install-cmake.sh \
|
||||||
/dockcross/install-cmake-binary.sh \
|
/dockcross/install-cmake-binary.sh \
|
||||||
/dockcross/build-and-install-curl.sh \
|
/dockcross/build-and-install-curl.sh \
|
||||||
/dockcross/build-and-install-ninja.sh
|
/dockcross/build-and-install-ninja.sh \
|
||||||
|
&& \
|
||||||
|
${PYTHON} -m pip install --ignore-installed conan
|
||||||
|
|
||||||
COPY imagefiles/cmake.sh /usr/local/bin/cmake
|
COPY imagefiles/cmake.sh /usr/local/bin/cmake
|
||||||
COPY imagefiles/ccmake.sh /usr/local/bin/ccmake
|
COPY imagefiles/ccmake.sh /usr/local/bin/ccmake
|
||||||
@ -52,8 +54,6 @@ RUN if [ -e /opt/python/cp35-cp35m/bin/python ]; then \
|
|||||||
rm get-pip.py || exit 1; \
|
rm get-pip.py || exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RUN $([ -e /opt/python/cp35-cp35m/bin/python ] && echo "/opt/python/cp35-cp35m/bin/python" || echo "python") -m pip install --ignore-installed conan
|
|
||||||
|
|
||||||
WORKDIR /usr/share
|
WORKDIR /usr/share
|
||||||
RUN git clone "https://github.com/nojhan/liquidprompt.git" && \
|
RUN git clone "https://github.com/nojhan/liquidprompt.git" && \
|
||||||
cd liquidprompt && \
|
cd liquidprompt && \
|
||||||
|
Loading…
Reference in New Issue
Block a user