Add git, use ansible <2.10

This commit is contained in:
2020-11-26 21:55:40 +04:00
parent 9e12b36f88
commit a6da201574

View File

@@ -3,14 +3,14 @@
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 && \ apk add --no-cache py3-pip openssl ca-certificates sshpass openssh-client git && \
apk add --no-cache --virtual build-dependencies \ apk add --no-cache --virtual build-dependencies \
python3-dev libffi-dev openssl-dev build-base && \ python3-dev libffi-dev openssl-dev build-base && \
\ \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
\ \
echo "===> Installing Ansible..." && \ echo "===> Installing Ansible..." && \
pip3 install ansible ansible-lint && \ pip3 install "ansible<2.10" ansible-lint && \
\ \
echo "===> Removing package list..." && \ echo "===> Removing package list..." && \
apk del build-dependencies && \ apk del build-dependencies && \