From c86d6f15af352a0d6c8ee28d3162d24bee49a9ce Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Wed, 28 Aug 2019 14:12:52 +0000 Subject: [PATCH] prep rebuild for elasticpot --- docker/elasticpot/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/elasticpot/Dockerfile b/docker/elasticpot/Dockerfile index dc2743cb..3e06caf8 100644 --- a/docker/elasticpot/Dockerfile +++ b/docker/elasticpot/Dockerfile @@ -1,8 +1,8 @@ FROM alpine - +# # Include dist ADD dist/ /root/dist/ - +# # Install packages RUN apk -U --no-cache add \ git \ @@ -15,18 +15,18 @@ RUN apk -U --no-cache add \ mkdir -p /opt && \ cd /opt/ && \ git clone --depth=1 https://github.com/schmalle/ElasticpotPY.git && \ - +# # Setup user, groups and configs addgroup -g 2000 elasticpot && \ adduser -S -H -s /bin/ash -u 2000 -D -g 2000 elasticpot && \ mv /root/dist/elasticpot.cfg /opt/ElasticpotPY/ && \ mkdir /opt/ElasticpotPY/log && \ - +# # Clean up apk del --purge git && \ rm -rf /root/* && \ rm -rf /var/cache/apk/* - +# # Start elasticpot STOPSIGNAL SIGINT USER elasticpot:elasticpot