Skip to content

Commit

Permalink
Fix venv module installation on oraclelinux
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy committed Dec 10, 2024
1 parent 2fde759 commit bda2f10
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/Dockerfile.oraclelinux
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@ ENV VIRTUALENV_PATH /tmp/venv
# This will get updated by the CircleCI checkout step.
ENV BUILD_SRC_ROOT /tmp/project

# Starting from v9, we need the EPEL repo for python3-virtualenv
RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-${TAG}.noarch.rpm

# Use bash substitution to extract the major version of Python
SHELL ["/bin/bash", "-c"]
# XXX net-tools is actually a Tahoe-LAFS runtime dependency!
RUN yum install --assumeyes \
RUN dnf install --assumeyes \
git \
sudo \
make automake gcc gcc-c++ \
python${PYTHON_VERSION} \
libffi-devel \
openssl-devel \
libyaml \
/usr/bin/virtualenv \
python${PYTHON_VERSION%%.*}-virtualenv \
net-tools

# Get the project source. This is better than it seems. CircleCI will
Expand Down

0 comments on commit bda2f10

Please sign in to comment.