We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02a84dc + 8f988fb commit f99e3acCopy full SHA for f99e3ac
Dockerfile
@@ -1,10 +1,10 @@
1
FROM python:3.8-alpine
2
3
-RUN apk upgrade
+RUN apk upgrade --no-cache
4
RUN apk add --no-cache rust cargo openssl-dev libffi-dev py3-pip python3 samba-client samba-common-tools yaml-dev
5
-RUN apk add --virtual build-dependencies build-base git \
6
- && git clone https://github.com/cddmp/enum4linux-ng.git \
7
- && pip install -r enum4linux-ng/requirements.txt \
+RUN apk add --no-cache --virtual build-dependencies build-base git \
+ && git clone --depth 1 https://github.com/cddmp/enum4linux-ng.git \
+ && pip install --no-cache-dir -r enum4linux-ng/requirements.txt \
8
&& apk del build-dependencies
9
WORKDIR enum4linux-ng
10
ENTRYPOINT ["python", "enum4linux-ng.py"]
0 commit comments