summaryrefslogtreecommitdiffstats
path: root/ansible/docker
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-03-30 15:46:58 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-03-30 15:51:23 +0200
commit005c340c51b81f7343d488203e8d0e2a8ef37739 (patch)
tree117a8b74383273911292c689c874ba8f0712f84a /ansible/docker
parentd4266a944dceef50f85d60814b2bbfa4bf493270 (diff)
Pin 'cryptography' pip package in ansible image
This rolls back alpine base layer to previous version and pins 'cryptography' pip package to the last known working version. Using alpine 3.13 has side efects as it upgrades python from 3.6 to 3.8 which breaks offline-installer playbooks. Change-Id: I3356e40943ffe75fe0febea31d71a51eb8a6f7bd Issue-ID: INT-1898 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/docker')
-rw-r--r--ansible/docker/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ansible/docker/Dockerfile b/ansible/docker/Dockerfile
index a7376856..137769c3 100644
--- a/ansible/docker/Dockerfile
+++ b/ansible/docker/Dockerfile
@@ -1,6 +1,7 @@
-FROM alpine:3.13.3
+FROM alpine:3.8
ARG ansible_version=2.7.8
+ARG cryptography_version=2.1.4
LABEL ansible_version=$ansible_version vendor=Samsung
# Install Ansible build dependencies
@@ -23,6 +24,7 @@ RUN apk --no-cache update \
&& pip3 install --upgrade pip \
&& pip3 install \
ansible==$ansible_version \
+ cryptography==$cryptography_version \
jmespath \
netaddr \
jsonpointer \