manylinux-x64: Initial addition

This commit is contained in:
Matt McCormick
2016-09-20 11:35:18 -04:00
parent 755f45b412
commit 5d90a72dfc
5 changed files with 53 additions and 6 deletions

View File

@ -1,3 +1,7 @@
#ifdef linux
#undef linux
#endif
WORKDIR /usr/share
RUN git clone "https://github.com/nojhan/liquidprompt.git" && \\
cd liquidprompt && \\
@ -5,7 +9,7 @@ RUN git clone "https://github.com/nojhan/liquidprompt.git" && \\
COPY imagefiles/.bashrc /root/
WORKDIR /usr/src
RUN git clone "https://cmake.org/cmake.git" CMake && \\
RUN git clone "git://cmake.org/cmake.git" CMake && \\
cd CMake && \\
git checkout v3.6.1 && \\
cd .. && mkdir CMake-build && cd CMake-build && \\
@ -13,7 +17,7 @@ RUN git clone "https://cmake.org/cmake.git" CMake && \\
--parallel=$(nproc) \\
--prefix=/usr && \\
make -j$(nproc) && \\
./bin/cmake -DCMAKE_USE_SYSTEM_CURL:BOOL=ON \\
./bin/cmake \\
-DCMAKE_BUILD_TYPE:STRING=Release \\
-DCMAKE_USE_OPENSSL:BOOL=ON . && \\
make install && \\
@ -23,7 +27,7 @@ RUN git clone "https://cmake.org/cmake.git" CMake && \\
RUN git clone "https://github.com/martine/ninja.git" && \\
cd ninja && \\
git checkout v1.7.1 && \\
python ./configure.py --bootstrap && \\
([ -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/ && \\
cd .. && rm -rf ninja