mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-07-26 01:48:32 +02:00
WIP: trying mailserver
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM alpine
|
||||
|
||||
MAINTAINER Lieuwe Leene
|
||||
|
||||
ARG SSL_ALGO=secp521r1
|
||||
|
||||
RUN apk update && \
|
||||
apk add --no-cache openssl && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY ./mail/certs /certs
|
||||
|
||||
RUN openssl ecparam -name ${SSL_ALGO} -genkey | openssl pkey -out /certs/ecprivkey.pem && \
|
||||
openssl pkey -in /certs/ecprivkey.pem -pubout -out /certs/ecpubkey.pem
|
Reference in New Issue
Block a user