removed the workdir

This commit is contained in:
Paul Voss 2016-08-13 11:49:19 +02:00
parent d86b6f3b14
commit 9c408dfb29
5 changed files with 1 additions and 8 deletions

View File

@ -2,6 +2,4 @@ FROM alpine:3.4
RUN apk add --no-cache ansible
WORKDIR /site
CMD ["ansible-playbook", "--help"]

View File

@ -12,6 +12,4 @@ RUN apt-get -q update \
&& pip install --quiet --upgrade \
ansible
WORKDIR /site
CMD ["ansible-playbook", "--help"]

View File

@ -5,6 +5,4 @@ RUN dnf -y install \
openssh-clients \
&& dnf clean all
WORKDIR /site
CMD ["ansible-playbook", "--help"]

View File

@ -9,6 +9,4 @@ RUN apt-get update \
ansible \
&& apt-get autoclean
WORKDIR /site
CMD ["ansible-playbook", "--help"]

View File

@ -12,6 +12,7 @@ Available with four image tags:
## run ansible
docker run -it --rm \
-w /site \
-v /path/to/site/:/site \
-v /path/to/ansible-user-ssh/:/root/.ssh:ro \
--tmpfs /root/.ansible \