@@ -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
@@ -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