forked from GNUsocial/gnu-social
21 lines
554 B
Docker
21 lines
554 B
Docker
ARG ALPINE_VER=3.9
|
|
|
|
FROM alpine:${ALPINE_VER}
|
|
|
|
LABEL maintainer="jeff@ressourcenkonflikt.de"
|
|
LABEL vendor="https://github.com/jeboehm/docker-mailserver"
|
|
|
|
ENV SSL_CERT=/media/tls/mailserver.crt \
|
|
SSL_KEY=/media/tls/mailserver.key \
|
|
SSL_CSR=/media/tls/mailserver.csr \
|
|
SSL_SUBJ_COUNTRY=DE \
|
|
SSL_SUBJ_STATE=Northrhine-Westfalia \
|
|
SSL_SUBJ_LOCALITY=Duesseldorf \
|
|
SSL_SUBJ_ORGANIZATION=Mail \
|
|
SSL_SUBJ_ORGANIZATIONAL_UNIT=Mail
|
|
|
|
RUN apk --no-cache add openssl
|
|
COPY create_tls.sh /usr/local/bin
|
|
|
|
CMD ["/usr/local/bin/create_tls.sh"]
|