From 15d4cac0292b2b2d974f4ccdf8e8898aa70f40b2 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 15 May 2020 13:39:33 -0700 Subject: [PATCH] fix Signed-off-by: Jess Frazelle --- ansible/Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ansible/Dockerfile b/ansible/Dockerfile index 1b1ff8a..178cb53 100644 --- a/ansible/Dockerfile +++ b/ansible/Dockerfile @@ -7,12 +7,10 @@ # -v ${HOME}/.ssh:/root/.ssh:ro \ # ansible all -m ping # -FROM alpine:latest +FROM python:3-alpine LABEL maintainer "Christian Koep " RUN builddeps=' \ - python-dev \ - py2-pip \ musl-dev \ openssl-dev \ libffi-dev \ @@ -20,16 +18,9 @@ RUN builddeps=' \ ' \ && apk --no-cache add \ ca-certificates \ - python \ - py-paramiko \ - py-yaml \ - py-jinja2 \ - py-httplib2 \ $builddeps \ - && pip install --upgrade pip \ && pip install \ ansible \ - six \ && apk del --purge $builddeps ENTRYPOINT [ "ansible" ]