summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Volkov <av903u@att.com>2018-10-22 15:45:55 +0000
committerAndrey Volkov <av903u@att.com>2018-10-23 14:52:32 -0700
commit03c75837216d3d6e5ad7971f0c5b468ecea18400 (patch)
tree008654dfa69f61ca09c50c93f3f5ab887f2258c5
parent0d119b55b149d985510fdc6f3e2f691266537e84 (diff)
Build arg for GPG key generation
-rw-r--r--Dockerfile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 4dae941..e5f49b8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -50,12 +50,16 @@ RUN rm /etc/nginx/sites-enabled/*
50COPY assets/supervisord.nginx.conf /etc/supervisor/conf.d/nginx.conf 50COPY assets/supervisord.nginx.conf /etc/supervisor/conf.d/nginx.conf
51RUN echo "daemon off;" >> /etc/nginx/nginx.conf 51RUN echo "daemon off;" >> /etc/nginx/nginx.conf
52 52
53ENV FULL_NAME="First Last" 53ARG FULL_NAME="First Last"
54ENV EMAIL_ADDRESS="youremail@example.com" 54ARG EMAIL_ADDRESS="youremail@example.com"
55ENV GPG_PASSWORD="PickAPassword" 55ARG GPG_PASSWORD="PickAPassword"
56ENV HOSTNAME=localhost 56ARG HOSTNAME=localhost
57
58ARG MODE=packages 57ARG MODE=packages
58
59ENV FULL_NAME ${FULL_NAME}
60ENV EMAIL_ADDRESS ${EMAIL_ADDRESS}
61ENV GPG_PASSWORD ${GPG_PASSWORD}
62ENV HOSTNAME ${HOSTNAME}
59ENV MODE ${MODE} 63ENV MODE ${MODE}
60 64
61COPY assets/packages /opt/packages 65COPY assets/packages /opt/packages