Explorar o código

remove pre-generated TLS key/cert pair

Fabian Peter Hammerle %!s(int64=4) %!d(string=hai) anos
pai
achega
3b98c5cd5e
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 1 0
      CHANGELOG.md
  2. 2 1
      Dockerfile

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Fixed
 - pin dovecot package version
   ( https://github.com/hadolint/hadolint/wiki/DL3018 )
+- remove pre-generated TLS key/cert pair
 
 ## [0.1.1] - 2019-08-25
 - mount dir `/etc/ssl/dovecot` providing SSL key & cert

+ 2 - 1
Dockerfile

@@ -1,7 +1,8 @@
 FROM alpine:3.11
 
 ARG DOVECOT_PACKAGE_VERSION=2.3.9.3-r0
-RUN apk add --no-cache dovecot=$DOVECOT_PACKAGE_VERSION
+RUN apk add --no-cache dovecot=$DOVECOT_PACKAGE_VERSION \
+    && find /etc/ssl/dovecot -type f -print -delete
 
 VOLUME /etc/ssl/dovecot