mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-24 13:50:41 +00:00
add missing build deps to docker image
This commit is contained in:
parent
06df6c3f32
commit
4240be5125
10
Dockerfile
10
Dockerfile
@ -8,13 +8,13 @@ LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
|
||||
|
||||
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 []
|
||||
|
Loading…
Reference in New Issue
Block a user