Merge "[docker] Ensure that we have all required system packages installed"
This commit is contained in:
commit
dc2f8f5a8b
@ -1,5 +1,5 @@
|
||||
rally-jobs
|
||||
tests
|
||||
contrib
|
||||
test-requirements.txt
|
||||
tox.ini
|
||||
.tox
|
||||
cover
|
||||
|
@ -7,8 +7,12 @@ WORKDIR /rally/xrally_opentstack
|
||||
|
||||
# to install package system-wide, we need to temporary switch to root user
|
||||
USER root
|
||||
# ensure that we have all system packages installed
|
||||
# NOTE(andreykurilin): we need to update setuptools, since xrally/xrally:3.0.0
|
||||
# has incompatible setuptools version for google-auth library
|
||||
RUN pip3 install -U setuptools bindep && apt update && apt install --yes $(bindep -b | tr '\n' ' ') && apt clean
|
||||
# disabling cache since we do not expect to install other packages
|
||||
RUN pip3 install -U setuptools --no-cache-dir && pip3 install . --no-cache-dir
|
||||
RUN pip3 install . --no-cache-dir --constraint ./upper-constraints.txt
|
||||
|
||||
# switch back to rally user for avoid permission conflicts
|
||||
USER rally
|
||||
|
@ -16,8 +16,8 @@ libxslt-devel [platform:rpm]
|
||||
openssl-devel [platform:rpm]
|
||||
postgresql-devel [platform:rpm !platform:opensuse]
|
||||
postgresql93-devel [platform:opensuse]
|
||||
python-dev [platform:dpkg]
|
||||
python-devel [platform:rpm]
|
||||
python3-dev [platform:dpkg]
|
||||
python3-devel [platform:rpm]
|
||||
redhat-rpm-config [platform:rpm]
|
||||
iputils-ping [platform:dpkg]
|
||||
iputils [platform:rpm]
|
||||
|
Loading…
Reference in New Issue
Block a user