1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-27 19:04:15 +01:00

Fixed dockerfile for dockerhub integration

This commit is contained in:
Caleb Stewart 2021-02-08 17:13:08 -05:00
parent b4c9850a88
commit ca375ddf3d

View File

@ -24,6 +24,7 @@ COPY . /pwncat
# Setup pwncat
RUN set -eux \
&& cd /pwncat \
&& python3 -m pip install -r requirements.txt \
&& python3 setup.py install
# Cleanup
@ -36,7 +37,7 @@ FROM alpine:latest as final
RUN set -eux \
&& apk add --no-cache \
python3 \
python3 libstdc++ \
&& find /usr/lib -type f -name '*.pyc' -print0 | xargs -0 -n1 rm -rf || true \
&& find /usr/lib -type d -name '__pycache__' -print0 | xargs -0 -n1 rm -rf || true \
&& mkdir /work