Skip to content
Snippets Groups Projects
Commit 84f1e643 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	Dockerfile
parents 3e946500 9306b3ac
No related branches found
No related tags found
3 merge requests!25Fix,!24Fix,!23Fix
...@@ -2,7 +2,6 @@ FROM registry.cyberbrain.pw/docker/alpine:latest AS builder ...@@ -2,7 +2,6 @@ FROM registry.cyberbrain.pw/docker/alpine:latest AS builder
ENV PATH="/opt/ansible/bin:$PATH" ENV PATH="/opt/ansible/bin:$PATH"
RUN apk --no-cache add python3 && \ RUN apk --no-cache add python3 && \
apk --no-cache add --virtual build-dependencies \ apk --no-cache add --virtual build-dependencies \
py3-pip \
musl-dev \ musl-dev \
python3-dev \ python3-dev \
libffi-dev \ libffi-dev \
...@@ -15,15 +14,13 @@ RUN apk --no-cache add python3 && \ ...@@ -15,15 +14,13 @@ RUN apk --no-cache add python3 && \
setuptools \ setuptools \
wheel \ wheel \
&& \ && \
( test -z $ANSIBLE_VERSION && \
pip install --ignore-installed --user --no-cache-dir ansible || \
pip install --ignore-installed --user --no-cache-dir ansible\<=$ANSIBLE_VERSION \
) && \
pip3 install --ignore-installed --no-cache-dir \ pip3 install --ignore-installed --no-cache-dir \
ansible \
ansible-lint \ ansible-lint \
mitogen \ mitogen \
jmespath \ jmespath \
pywinrm \ pywinrm \
patch \
&& \ && \
#apk del build-dependencies && \ #apk del build-dependencies && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
...@@ -38,8 +35,6 @@ RUN apk --no-cache add \ ...@@ -38,8 +35,6 @@ RUN apk --no-cache add \
sshpass \ sshpass \
openssh-client \ openssh-client \
rsync \ rsync \
git \ git
&& \
rm -rf /var/cache/apk/*
COPY --from=builder /opt/ansible /opt/ansible COPY --from=builder /opt/ansible /opt/ansible
CMD [ "ansible", "--version" ] CMD [ "ansible", "--version" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment