tweaking, hardening

This commit is contained in:
Marco Ochse
2018-05-04 16:29:55 +00:00
parent 915d3f1b89
commit b1fbcd9532
12 changed files with 79 additions and 519 deletions

View File

@ -4,7 +4,7 @@ FROM alpine
ADD dist/ /root/dist/
# Setup apt
RUN apk -U --no-cache add bash \
RUN apk -U --no-cache add \
build-base \
cython-dev \
file \
@ -51,7 +51,8 @@ RUN apk -U --no-cache add bash \
adduser -S -s /bin/bash -u 2000 -D -g 2000 conpot && \
# Clean up
apk del --purge build-base \
apk del --purge \
build-base \
cython-dev \
file \
git \

View File

@ -1,5 +0,0 @@
#!/usr/bin/python
# EASY-INSTALL-SCRIPT: 'Conpot==0.5.1','conpot'
__import__('gevent.monkey').monkey.patch_all()
__requires__ = 'Conpot==0.5.1'
__import__('pkg_resources').run_script('Conpot==0.5.1', 'conpot')