2016-09-20 06:35:37 +02:00
|
|
|
WORKDIR /usr/share
|
2016-09-20 19:17:15 +02:00
|
|
|
RUN git clone "https://github.com/nojhan/liquidprompt.git" && \
|
|
|
|
cd liquidprompt && \
|
2016-09-20 06:35:37 +02:00
|
|
|
git checkout v_1.11
|
|
|
|
COPY imagefiles/.bashrc /root/
|
|
|
|
|
|
|
|
WORKDIR /usr/src
|
2016-11-18 21:30:03 +01:00
|
|
|
|
2016-11-21 12:08:30 +01:00
|
|
|
COPY imagefiles/install-openssl.sh imagefiles/install-cmake.sh /dockcross/
|
|
|
|
RUN \
|
|
|
|
if [ "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux-x86" ]; then \
|
|
|
|
/dockcross/install-openssl.sh -32 && \
|
|
|
|
/dockcross/install-cmake.sh -32 || exit 1; \
|
|
|
|
else \
|
|
|
|
/dockcross/install-openssl.sh && \
|
|
|
|
/dockcross/install-cmake.sh || exit 1; \
|
|
|
|
fi; \
|
|
|
|
rm /dockcross/install-openssl.sh /dockcross/install-cmake.sh
|
2016-09-20 06:35:37 +02:00
|
|
|
|
2016-11-05 16:24:32 +01:00
|
|
|
RUN git clone "https://github.com/ninja-build/ninja.git" && \
|
2016-09-20 19:17:15 +02:00
|
|
|
cd ninja && \
|
|
|
|
git checkout v1.7.1 && \
|
|
|
|
([ -e /opt/python/cp35-cp35m/bin/python ] && /opt/python/cp35-cp35m/bin/python ./configure.py --bootstrap) || python ./configure.py --bootstrap && \
|
|
|
|
./ninja && \
|
|
|
|
cp ./ninja /usr/bin/ && \
|
2016-09-20 06:35:37 +02:00
|
|
|
cd .. && rm -rf ninja
|
|
|
|
COPY imagefiles/cmake.sh /usr/local/bin/cmake
|
|
|
|
COPY imagefiles/ccmake.sh /usr/local/bin/ccmake
|
|
|
|
|
|
|
|
RUN echo "root:root" | chpasswd
|
|
|
|
WORKDIR /work
|
|
|
|
ENTRYPOINT ["/dockcross/entrypoint.sh"]
|
|
|
|
|
|
|
|
COPY imagefiles/entrypoint.sh imagefiles/dockcross /dockcross/
|