Skip to content

Commit 1224b37

Browse files
committed
Update dockerfile (plantform independent build)
1 parent cac76ec commit 1224b37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

release/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ RUN cat python_versions.txt | while read version; do pyenv install $version ; d
2929

3030
# update cmake to 3.20
3131
RUN sudo apt-get remove cmake
32-
RUN wget -nv https://cmake.org/files/v3.20/cmake-3.20.0-rc1-linux-x86_64.tar.gz
33-
RUN tar -xf cmake-3.20.0-rc1-linux-x86_64.tar.gz
34-
RUN sudo ln -sf ~/cmake-3.20.0-rc1-linux-x86_64/bin/* /usr/bin
32+
RUN wget -nv https://cmake.org/files/v3.20/cmake-3.20.0-rc1-linux-$(uname -m).tar.gz
33+
RUN tar -xf cmake-3.20.0-rc1-linux-$(uname -m).tar.gz
34+
RUN sudo ln -sf ~/cmake-3.20.0-rc1-linux-$(uname -m)/bin/* /usr/bin
3535

3636
# Prebuild
3737
RUN sudo apt-get install -y libeigen3-dev libgtest-dev libgflags-dev libgoogle-glog-dev libprotobuf-dev protobuf-compiler
@@ -49,7 +49,7 @@ RUN \
4949

5050
RUN \
5151
cd voxbloxpy && \
52-
cat ../python_versions.txt | while read version; do pyenv global $version && python setup.py bdist_wheel -p manylinux1_x86_64; done
52+
cat ../python_versions.txt | while read version; do pyenv global $version && python setup.py bdist_wheel -p manylinux2014_$(uname -m); done
5353

5454
COPY check_glibcxx.sh $HOME/
5555
RUN bash ./check_glibcxx.sh

0 commit comments

Comments
 (0)