mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-07-04 08:35:46 +02:00
manylinux-x64: Initial addition
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user