Pin 'cryptography' pip package in ansible image 71/119971/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Tue, 30 Mar 2021 13:46:58 +0000 (15:46 +0200)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Tue, 30 Mar 2021 13:52:25 +0000 (13:52 +0000)
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>
ansible/docker/Dockerfile

index a737685..137769c 100644 (file)
@@ -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 \