From 08eb38cef9cf00a4003d7299bc611cf6812a8cae Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Sat, 10 Oct 2020 15:38:13 +0200 Subject: [PATCH] manylinux: details --- docker/manylinux2014/all.sh | 9 +++++---- docker/manylinux2014/test.Dockerfile | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/manylinux2014/all.sh b/docker/manylinux2014/all.sh index a9d816f..0d8f725 100755 --- a/docker/manylinux2014/all.sh +++ b/docker/manylinux2014/all.sh @@ -1,10 +1,11 @@ #!/bin/bash -eux docker build -t manylinux . -docker run -v "$(pwd -P):/io" --rm -t manylinux rm -rf /io/dist /io/wheelhouse -docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh eigenpy -docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh hpp-fcl -docker run -v "$(pwd -P):/io" --rm -t manylinux /scripts/setup.sh pinocchio +docker run -v "$(pwd -P):/io" -v /local/users/ccache/:/root/.ccache --rm -t manylinux rm -rf /io/dist /io/wheelhouse +docker run -v "$(pwd -P):/io" -v /local/users/ccache/:/root/.ccache --rm -t manylinux /scripts/setup.sh eigenpy +docker run -v "$(pwd -P):/io" -v /local/users/ccache/:/root/.ccache --rm -t manylinux /scripts/setup.sh hpp-fcl +docker run -v "$(pwd -P):/io" -v /local/users/ccache/:/root/.ccache --rm -t manylinux /scripts/setup.sh pinocchio +clear for PYVER in 2.7 3.5 3.6 3.7 3.8 3.9 do docker build -f test.Dockerfile --build-arg PYVER=$PYVER -t manylinux-test:$PYVER . diff --git a/docker/manylinux2014/test.Dockerfile b/docker/manylinux2014/test.Dockerfile index 6e68bd0..269cf80 100644 --- a/docker/manylinux2014/test.Dockerfile +++ b/docker/manylinux2014/test.Dockerfile @@ -1,7 +1,7 @@ ARG PYVER=3.7 FROM python:$PYVER -RUN apt-get update -qqy && apt-get install -qqy libgl1 && rm -rf /var/lib/apt/lists/* +RUN apt-get update -qqy && apt-get install -qqy libgl1 && rm -rf /var/lib/apt/lists/* && pip install --no-cache-dir numpy ADD dist config test.sh / CMD /test.sh -- GitLab