diff options
author | Jamie Nguyen <j@jamielinux.com> | 2018-07-17 14:12:23 +0100 |
---|---|---|
committer | Jamie Nguyen <j@jamielinux.com> | 2018-07-17 14:12:23 +0100 |
commit | 59dea2f00cbdc956af4ccfab8e4c15564668121e (patch) | |
tree | 7499bf1b9427e03982c3279f10e0b66c3cca776c /2.4/docker-entrypoint.sh | |
parent | da253163d5352f5487d68d0ae30a1667482de1cb (diff) | |
download | apache-59dea2f00cbdc956af4ccfab8e4c15564668121e.tar.gz apache-59dea2f00cbdc956af4ccfab8e4c15564668121e.tar.bz2 apache-59dea2f00cbdc956af4ccfab8e4c15564668121e.tar.xz apache-59dea2f00cbdc956af4ccfab8e4c15564668121e.zip |
Move apk to Dockerfile
Diffstat (limited to '2.4/docker-entrypoint.sh')
-rwxr-xr-x | 2.4/docker-entrypoint.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh index 8531931..5840b23 100755 --- a/2.4/docker-entrypoint.sh +++ b/2.4/docker-entrypoint.sh @@ -80,10 +80,8 @@ if [ "${SSL_CERT:-none}" = "selfsigned" ]; then # Generate self-signed SSL certificate. # If SERVER_NAMES is given, use the first domain as the Common Name. if [ ! -e /privkey.pem ] || [ ! -e /cert.pem ]; then - apk add --no-cache openssl openssl req -x509 -newkey rsa:2048 -days 1000 -nodes \ -keyout /privkey.pem -out /cert.pem -subj "/CN=${SERVER_NAME:-selfsigned}" - apk del --no-cache openssl fi fi |