diff --git a/data/Dockerfiles/data-container-dkim/Dockerfile b/data/Dockerfiles/data-container-dkim/Dockerfile new file mode 100644 index 000000000..c48a04111 --- /dev/null +++ b/data/Dockerfiles/data-container-dkim/Dockerfile @@ -0,0 +1,8 @@ +FROM debian:jessie + +RUN mkdir -p /data/dkim/keys \ + && mkdir -p /data/dkim/txt \ + && chown -R 33:33 /data/dkim +VOLUME /data/dkim +USER www-data +CMD ["echo", "Data container for dkim keys"] diff --git a/data/Dockerfiles/data-container-vmail/Dockerfile b/data/Dockerfiles/data-container-vmail/Dockerfile new file mode 100644 index 000000000..76f4e41a1 --- /dev/null +++ b/data/Dockerfiles/data-container-vmail/Dockerfile @@ -0,0 +1,10 @@ +FROM debian:jessie + +RUN groupadd -g 5000 vmail \ + && useradd -g vmail -u 5000 vmail -d /var/vmail + +RUN mkdir -p /var/vmail \ + && chown -R 5000:5000 /var/vmail +VOLUME /var/vmail +USER vmail +CMD ["echo", "Data container for mail"]