Pre-create /etc/ssl/private
This commit is contained in:
parent
80cadb40f9
commit
249a8a8eae
@ -26,6 +26,7 @@ RUN cp /usr/share/doc/dovecot-*/mkcert.sh /var/tmp/dovecot-cert/ ; \
|
|||||||
cp /usr/share/doc/dovecot-*/dovecot-openssl.cnf /var/tmp/dovecot-cert/
|
cp /usr/share/doc/dovecot-*/dovecot-openssl.cnf /var/tmp/dovecot-cert/
|
||||||
RUN chmod +x /var/tmp/dovecot-cert/mkcert.sh
|
RUN chmod +x /var/tmp/dovecot-cert/mkcert.sh
|
||||||
WORKDIR /var/tmp/dovecot-cert
|
WORKDIR /var/tmp/dovecot-cert
|
||||||
|
RUN mkdir /etc/ssl/private
|
||||||
RUN ./mkcert.sh
|
RUN ./mkcert.sh
|
||||||
RUN chown root:dovecot /etc/ssl/certs/dovecot.pem ; \
|
RUN chown root:dovecot /etc/ssl/certs/dovecot.pem ; \
|
||||||
chmod 0644 /etc/ssl/certs/dovecot.pem ; \
|
chmod 0644 /etc/ssl/certs/dovecot.pem ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user