Skip to content

Commit

Permalink
Fix pip command
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries committed May 22, 2020
1 parent 709875a commit e70e1b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clang-cci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV LLVM_VERSION=$COMPILER_VERSION \
PYENV_ROOT=/opt/pyenv \
PYTHON_VERSION=3.8.2 \
PATH=/opt/pyenv/shims:${PATH} \
CMAKE_VERSION=3.16.6
CMAKE_VERSION=3.17.2

RUN dpkg --add-architecture i386 \
&& apt-get -qq update \
Expand Down
7 changes: 4 additions & 3 deletions gcc-cci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV PYENV_ROOT=/opt/pyenv \
CXX=/usr/bin/g++ \
CC=/usr/bin/gcc \
PYTHON_VERSION=3.8.2 \
CMAKE_VERSION=3.16.4 \
CMAKE_VERSION=3.17.2 \
GCC_VERSION=$COMPILER_VERSION

RUN apt-get -qq update \
Expand Down Expand Up @@ -92,8 +92,9 @@ RUN wget --no-check-certificate --quiet -O /tmp/pyenv-installer https://github.c
&& update-alternatives --install /usr/bin/pyenv pyenv /opt/pyenv/bin/pyenv 100 \
&& PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install ${PYTHON_VERSION} \
&& pyenv global ${PYTHON_VERSION} \
&& pip install -q --upgrade --no-cache-dir pip \
&& pip install -q --no-cache-dir conan conan-package-tools cmake==${CMAKE_VERSION} \
&& pip install -q --upgrade --no-cache-dir pip

RUN pip install -q --no-cache-dir conan conan-package-tools cmake==${CMAKE_VERSION} \
&& chown -R conan:1001 /opt/pyenv \
# remove all __pycache__ directories created by pyenv
&& find /opt/pyenv -iname __pycache__ -print0 | xargs -0 rm -rf \
Expand Down

0 comments on commit e70e1b4

Please sign in to comment.