summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2018-02-14 16:39:36 -0600
committerKelley Spoon <kelley.spoon@linaro.org>2018-02-14 16:39:36 -0600
commitc3d82b08082171da37f030e5cc73ce202cc195f3 (patch)
tree91587bda40d3132d51be52219abfa869c7a1375e
parentca3ca7ee03058ee53699b8434a163d6b76ef1982 (diff)
downloaddocker-ansible-baseimage-daemonize.tar.gz
bugfix: docker doesn't honor bash path expansion syntaxdaemonize
-rw-r--r--Dockerfile_trusty2
-rw-r--r--Dockerfile_xenial2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile_trusty b/Dockerfile_trusty
index ee205fc..c112a68 100644
--- a/Dockerfile_trusty
+++ b/Dockerfile_trusty
@@ -15,7 +15,7 @@ RUN apt-get update
# Update apt cache
RUN apt-get update && apt-get install -y ansible vim bash openssh-server python-apt sudo cron
-RUN mkdir -p {/root/.ssh/,/var/run/sshd}
+RUN mkdir -p /root/.ssh/ && mkdir -p /var/run/sshd
ADD pubkeys /root/.ssh/authorized_keys
# add playbooks/roles to the image.
diff --git a/Dockerfile_xenial b/Dockerfile_xenial
index 7b48fd8..2cd1696 100644
--- a/Dockerfile_xenial
+++ b/Dockerfile_xenial
@@ -15,7 +15,7 @@ RUN apt-get update
# Update apt cache
RUN apt-get update && apt-get install -y ansible vim bash openssh-server python-apt sudo cron
-RUN mkdir -p {/root/.ssh/,/var/run/sshd}
+RUN mkdir -p /root/.ssh/ && mkdir -p /var/run/sshd
ADD pubkeys /root/.ssh/authorized_keys
# add playbooks/roles to the image.