mirror of
https://github.com/maxkratz/dockerfiles.git
synced 2024-09-08 00:03:50 +00:00
fix
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
8aba446ab8
commit
15d4cac029
1 changed files with 1 additions and 10 deletions
|
@ -7,12 +7,10 @@
|
|||
# -v ${HOME}/.ssh:/root/.ssh:ro \
|
||||
# ansible all -m ping
|
||||
#
|
||||
FROM alpine:latest
|
||||
FROM python:3-alpine
|
||||
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
||||
|
||||
RUN builddeps=' \
|
||||
python-dev \
|
||||
py2-pip \
|
||||
musl-dev \
|
||||
openssl-dev \
|
||||
libffi-dev \
|
||||
|
@ -20,16 +18,9 @@ RUN builddeps=' \
|
|||
' \
|
||||
&& apk --no-cache add \
|
||||
ca-certificates \
|
||||
python \
|
||||
py-paramiko \
|
||||
py-yaml \
|
||||
py-jinja2 \
|
||||
py-httplib2 \
|
||||
$builddeps \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install \
|
||||
ansible \
|
||||
six \
|
||||
&& apk del --purge $builddeps
|
||||
|
||||
ENTRYPOINT [ "ansible" ]
|
||||
|
|
Loading…
Reference in a new issue