From 4240be512596e2638cf0476f56ee1ea236ec65f7 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 10 Oct 2019 22:21:01 +0200 Subject: [PATCH] add missing build deps to docker image --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2bbda29..022799a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,13 @@ LABEL maintainer="Robert Kaussow " \ ADD dist/ansible_later-*.whl / -RUN \ - apk update --no-cache && \ - rm -rf /var/cache/apk/* && \ +RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \ pip install --upgrade --no-cache-dir pip && \ pip install --no-cache-dir --find-links=. ansible-later && \ - rm -f ansible_later-*.whl && \ - rm -rf /root/.cache/ + apk del .build-deps && \ + rm -rf /var/cache/apk/* && \ + rm -rf /root/.cache/ && \ + rm -f ansible_later-*.whl USER root CMD []