Browse Source

remove pre-generated TLS key/cert pair

Fabian Peter Hammerle 4 years ago
parent
commit
3b98c5cd5e
2 changed files with 3 additions and 1 deletions
  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