Merge "Remove patching from offline-installer"
[oom/offline-installer.git] / ansible / docker / Dockerfile
index 4cefa8b..ca6dbfb 100644 (file)
@@ -1,6 +1,6 @@
 FROM alpine:3.8
 
-ARG ansible_version=2.6.3
+ARG ansible_version=2.7.8
 LABEL ansible_version=$ansible_version vendor=Samsung
 
 # Install Ansible build dependencies
@@ -20,12 +20,13 @@ RUN apk --no-cache update \
   py3-openssl \
   openssh \
   sshpass \
-&& pip3 install --no-cache-dir --upgrade pip \
-&& pip3 install --no-cache-dir \
+&& pip3 install --upgrade pip \
+&& pip3 install \
   ansible==$ansible_version \
   jmespath \
   netaddr \
-&& apk del build-dependencies && rm -rf /var/cache/apk/*
+  jsonpointer \
+&& apk del build-dependencies && rm -rf /var/cache/apk/* && rm -rf /root/.cache
 
 ENV ANSIBLE_HOST_KEY_CHECKING false
 ENV ANSIBLE_RETRY_FILES_ENABLED false