Skip to content

Commit

Permalink
update docker image (#263)
Browse files Browse the repository at this point in the history
update docker image and update build scripts
  • Loading branch information
hendrikmuhs authored Nov 7, 2023
1 parent 3a81603 commit e2cc53e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
brew update
brew install zlib snappy boost
brew install ccache
sudo xcode-select -s "/Applications/Xcode_12.4.app"
- name: checkout from git
uses: actions/checkout@v2

Expand Down
18 changes: 9 additions & 9 deletions docker/manylinux-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ RUN yum -y install bzip2-devel \
python-devel && \
yum clean all

ENV ZLIB_MAJOR=1 ZLIB_MINOR=2 ZLIB_PATCH=12
ENV ZLIB_MAJOR=1 ZLIB_MINOR=3

RUN curl https://zlib.net/zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.${ZLIB_PATCH}.tar.gz --output zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.${ZLIB_PATCH}.tar.gz && \
tar -xvf zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.${ZLIB_PATCH}.tar.gz && \
cd zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.${ZLIB_PATCH} && ./configure && make -j4 && make install && \
cd .. && rm -rf zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.${ZLIB_PATCH} zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.${ZLIB_PATCH}.tar.gz
RUN curl https://zlib.net/zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.tar.gz --output zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.tar.gz && \
tar -xvf zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.tar.gz && \
cd zlib-${ZLIB_MAJOR}.${ZLIB_MINOR} && ./configure && make -j4 && make install && \
cd .. && rm -rf zlib-${ZLIB_MAJOR}.${ZLIB_MINOR} zlib-${ZLIB_MAJOR}.${ZLIB_MINOR}.tar.gz

ENV BOOST_MAJOR=1 BOOST_MINOR=74 BOOST_PATCH=0
RUN curl -s -SL http://sourceforge.net/projects/boost/files/boost/${BOOST_MAJOR}.${BOOST_MINOR}.${BOOST_PATCH}/boost_${BOOST_MAJOR}_${BOOST_MINOR}_${BOOST_PATCH}.tar.gz | tar xz && \
ENV BOOST_MAJOR=1 BOOST_MINOR=83 BOOST_PATCH=0
RUN curl -s -SL https://boostorg.jfrog.io/artifactory/main/release/${BOOST_MAJOR}.${BOOST_MINOR}.${BOOST_PATCH}/source/boost_${BOOST_MAJOR}_${BOOST_MINOR}_${BOOST_PATCH}.tar.gz | tar xz && \
cd boost_${BOOST_MAJOR}_${BOOST_MINOR}_${BOOST_PATCH} && \
./bootstrap.sh --without-libraries=graph_parallel,python, && \
./b2 -d0 --prefix=/usr/local/ install && \
cd .. && \
rm -rf boost_*

ENV CMAKE_MAJOR=3 CMAKE_MINOR=10 CMAKE_PATCH=1
ENV CMAKE_MAJOR=3 CMAKE_MINOR=27 CMAKE_PATCH=7

RUN curl -sSL https://cmake.org/files/v${CMAKE_MAJOR}.${CMAKE_MINOR}/cmake-${CMAKE_MAJOR}.${CMAKE_MINOR}.${CMAKE_PATCH}.tar.gz | tar -xz && \
cd cmake-${CMAKE_MAJOR}.${CMAKE_MINOR}.${CMAKE_PATCH} && ./bootstrap && make -j4 && make install && \
cd cmake-${CMAKE_MAJOR}.${CMAKE_MINOR}.${CMAKE_PATCH} && ./bootstrap -- -DCMAKE_USE_OPENSSL=OFF && make -j4 && make install && \
cd .. && rm -rf cmake-${CMAKE_MAJOR}.${CMAKE_MINOR}.${CMAKE_PATCH}

0 comments on commit e2cc53e

Please sign in to comment.