From 08ff1377fd0a274dbd66fc6ae5d8c24d2b111621 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Wed, 28 Aug 2019 14:41:35 +0000 Subject: [PATCH] prep mailoney rebuild --- docker/mailoney/Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/mailoney/Dockerfile b/docker/mailoney/Dockerfile index 0524d2b8..99c37142 100644 --- a/docker/mailoney/Dockerfile +++ b/docker/mailoney/Dockerfile @@ -1,5 +1,5 @@ FROM alpine - +# # Install packages RUN apk -U --no-cache add \ autoconf \ @@ -11,7 +11,7 @@ RUN apk -U --no-cache add \ py-pip \ python \ python-dev && \ - +# # Install libemu git clone --depth=1 https://github.com/buffer/libemu /root/libemu/ && \ cd /root/libemu/ && \ @@ -19,22 +19,22 @@ RUN apk -U --no-cache add \ ./configure && \ make && \ make install && \ - +# # Install libemu python wrapper pip install --no-cache-dir --upgrade pip && \ pip install --no-cache-dir \ hpfeeds \ pylibemu && \ - +# # Install mailoney from git git clone --depth=1 https://github.com/awhitehatter/mailoney /opt/mailoney && \ - +# # Setup user, groups and configs addgroup -g 2000 mailoney && \ adduser -S -H -s /bin/ash -u 2000 -D -g 2000 mailoney && \ chown -R mailoney:mailoney /opt/mailoney && \ setcap cap_net_bind_service=+ep /usr/bin/python2.7 && \ - +# # Clean up apk del --purge autoconf \ automake \ @@ -44,7 +44,7 @@ RUN apk -U --no-cache add \ python-dev && \ rm -rf /root/* && \ rm -rf /var/cache/apk/* - +# # Set workdir and start mailoney STOPSIGNAL SIGINT USER mailoney:mailoney