diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2018-02-26 15:46:46 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2018-02-26 15:52:07 +0000 |
commit | 938073e2b69a02cbae196f160719e57461dbaf9b (patch) | |
tree | a90b815d0c090586afd9bba78cc6ac9ef6add0e0 /xenial-amd64-tcwg-base | |
parent | aed1363afcfe698202f5cfd597fd8e84daaff5a4 (diff) |
tcwg-base*: Fix postfix password file path.
Change-Id: I2156b5bfd8bb9195b6b8aeeb995fbe2952436274
Diffstat (limited to 'xenial-amd64-tcwg-base')
-rw-r--r-- | xenial-amd64-tcwg-base/Dockerfile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xenial-amd64-tcwg-base/Dockerfile b/xenial-amd64-tcwg-base/Dockerfile index e6b67520..597e71f9 100644 --- a/xenial-amd64-tcwg-base/Dockerfile +++ b/xenial-amd64-tcwg-base/Dockerfile @@ -1,9 +1,6 @@ # Auto generated from tcwg-base/Dockerfile.in. Do not edit. FROM ubuntu:xenial -COPY postfix-main.cf.in . -COPY postfix-sasl_passwd.in . - RUN (url="http://archive.ubuntu.com/ubuntu/"; \ ubuntu=xenial; \ for i in $ubuntu $ubuntu-updates $ubuntu-backports $ubuntu-security; do \ @@ -102,10 +99,13 @@ RUN install -D -p -m0755 /usr/share/doc/git/contrib/workdir/git-new-workdir /usr -e "/.*MaxStartups.*/d" \ -e "/.*MaxSesssions.*/d" /etc/ssh/sshd_config \ && echo "MaxStartups 256" >> /etc/ssh/sshd_config \ - && echo "MaxSessions 256" >> /etc/ssh/sshd_config \ - && cp postfix-main.cf.in /etc/postfix/main.cf \ - && mkdir -p /etc/postfix/sasl_password \ - && cp postfix-sasl_passwd.in /etc/postfix/sasl_password/sasl_password + && echo "MaxSessions 256" >> /etc/ssh/sshd_config + +COPY postfix-main.cf.in /etc/postfix/main.cf +COPY postfix-sasl_password.in /etc/postfix/sasl_password + +RUN chown root:root /etc/postfix/sasl_password \ + && chmod 600 /etc/postfix/sasl_password RUN mkdir /tmp/docker-install-qemu.$$ \ && cd /tmp/docker-install-qemu.$$ \ @@ -125,4 +125,4 @@ VOLUME /tmp EXPOSE 22 CMD ["/usr/sbin/sshd", "-D"] -# checksum: ef2291e71ee3040f87bfaa9e6074a93c +# checksum: 3f858490e34fc135f7c029fcc5bedc76 |