From 9c408dfb291283c395f367aa2aedd715d3c70b43 Mon Sep 17 00:00:00 2001 From: Paul Voss Date: Sat, 13 Aug 2016 11:49:19 +0200 Subject: [PATCH] removed the workdir --- Dockerfile.alpine-3 | 2 -- Dockerfile.debian-8 | 2 -- Dockerfile.fedora-24 | 2 -- Dockerfile.ubuntu-16.04 | 2 -- README.md | 1 + 5 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile.alpine-3 b/Dockerfile.alpine-3 index 522ae48..969fdfd 100644 --- a/Dockerfile.alpine-3 +++ b/Dockerfile.alpine-3 @@ -2,6 +2,4 @@ FROM alpine:3.4 RUN apk add --no-cache ansible -WORKDIR /site - CMD ["ansible-playbook", "--help"] diff --git a/Dockerfile.debian-8 b/Dockerfile.debian-8 index 9649e21..632d2a3 100644 --- a/Dockerfile.debian-8 +++ b/Dockerfile.debian-8 @@ -12,6 +12,4 @@ RUN apt-get -q update \ && pip install --quiet --upgrade \ ansible -WORKDIR /site - CMD ["ansible-playbook", "--help"] diff --git a/Dockerfile.fedora-24 b/Dockerfile.fedora-24 index 88a404a..cc2bf57 100644 --- a/Dockerfile.fedora-24 +++ b/Dockerfile.fedora-24 @@ -5,6 +5,4 @@ RUN dnf -y install \ openssh-clients \ && dnf clean all -WORKDIR /site - CMD ["ansible-playbook", "--help"] diff --git a/Dockerfile.ubuntu-16.04 b/Dockerfile.ubuntu-16.04 index ba828a1..93398fd 100644 --- a/Dockerfile.ubuntu-16.04 +++ b/Dockerfile.ubuntu-16.04 @@ -9,6 +9,4 @@ RUN apt-get update \ ansible \ && apt-get autoclean -WORKDIR /site - CMD ["ansible-playbook", "--help"] diff --git a/README.md b/README.md index 878dad2..281cfa8 100644 --- a/README.md +++ b/README.md @@ -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 \