Simplify
This commit is contained in:
parent
83713caeff
commit
4a4a36a744
12
Dockerfile
12
Dockerfile
@ -3,17 +3,9 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN echo "===> Adding Python runtime..." && \
|
RUN echo "===> Adding Python runtime..." && \
|
||||||
apk add --no-cache py3-pip openssl ca-certificates sshpass openssh-client git curl && \
|
apk add --no-cache ansible ansible-lint openssl ca-certificates sshpass openssh-client git curl && \
|
||||||
apk add --no-cache --virtual build-dependencies \
|
|
||||||
python3-dev libffi-dev openssl-dev build-base && \
|
|
||||||
\
|
|
||||||
pip3 install --upgrade pip && \
|
|
||||||
\
|
|
||||||
echo "===> Installing Ansible..." && \
|
|
||||||
pip3 install "ansible<2.10" ansible-lint && \
|
|
||||||
\
|
|
||||||
echo "===> Removing package list..." && \
|
echo "===> Removing package list..." && \
|
||||||
apk del build-dependencies && \
|
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN mkdir /ansible
|
RUN mkdir /ansible
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user