mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
@@ -7,12 +7,10 @@
|
|||||||
# -v ${HOME}/.ssh:/root/.ssh:ro \
|
# -v ${HOME}/.ssh:/root/.ssh:ro \
|
||||||
# ansible all -m ping
|
# ansible all -m ping
|
||||||
#
|
#
|
||||||
FROM alpine:latest
|
FROM python:3-alpine
|
||||||
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
||||||
|
|
||||||
RUN builddeps=' \
|
RUN builddeps=' \
|
||||||
python-dev \
|
|
||||||
py2-pip \
|
|
||||||
musl-dev \
|
musl-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
@@ -20,16 +18,9 @@ RUN builddeps=' \
|
|||||||
' \
|
' \
|
||||||
&& apk --no-cache add \
|
&& apk --no-cache add \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
python \
|
|
||||||
py-paramiko \
|
|
||||||
py-yaml \
|
|
||||||
py-jinja2 \
|
|
||||||
py-httplib2 \
|
|
||||||
$builddeps \
|
$builddeps \
|
||||||
&& pip install --upgrade pip \
|
|
||||||
&& pip install \
|
&& pip install \
|
||||||
ansible \
|
ansible \
|
||||||
six \
|
|
||||||
&& apk del --purge $builddeps
|
&& apk del --purge $builddeps
|
||||||
|
|
||||||
ENTRYPOINT [ "ansible" ]
|
ENTRYPOINT [ "ansible" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user