summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-31 23:05:59 +0200
committerLinus Nordberg <linus@nordberg.se>2015-03-31 23:05:59 +0200
commita1e3d7ed085c70656bfe3b798c4f5ee684938daa (patch)
tree674057345e73ab6cb2eac9ee63ce7b884c9afc9e
parent5859bc056aadcbfa9c8dee790730aefa627f6ce7 (diff)
Need erlang_log and sasl_log too.docker2
-rw-r--r--packaging/docker/catlfish-dev/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/docker/catlfish-dev/Dockerfile b/packaging/docker/catlfish-dev/Dockerfile
index 9d40087..b1192cf 100644
--- a/packaging/docker/catlfish-dev/Dockerfile
+++ b/packaging/docker/catlfish-dev/Dockerfile
@@ -45,9 +45,9 @@ VOLUME /var/local/db/catlfish
# Working directory is where catlfish.config is. We want to run in
# /var/run/catlfish and not in /usr/local/etc/catlfish, so symlink.
-RUN mkdir /var/run/catlfish
-RUN chgrp daemon /var/run/catlfish
-RUN chmod 775 /var/run/catlfish
+RUN mkdir -p /var/run/catlfish/erlang_log /var/run/catlfish/sasl_log
+RUN chgrp -R daemon /var/run/catlfish
+RUN chmod -R 775 /var/run/catlfish
RUN ln -s /usr/local/etc/catlfish/catlfish.config /var/run/catlfish/
WORKDIR /var/run/catlfish