Skip to content

Commit 8f988fb

Browse files
Reduce git repo clone depth in Dockerfile
1 parent 035d1c7 commit 8f988fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.8-alpine
33
RUN apk upgrade --no-cache
44
RUN apk add --no-cache rust cargo openssl-dev libffi-dev py3-pip python3 samba-client samba-common-tools yaml-dev
55
RUN apk add --no-cache --virtual build-dependencies build-base git \
6-
&& git clone https://github.com/cddmp/enum4linux-ng.git \
6+
&& git clone --depth 1 https://github.com/cddmp/enum4linux-ng.git \
77
&& pip install --no-cache-dir -r enum4linux-ng/requirements.txt \
88
&& apk del build-dependencies
99
WORKDIR enum4linux-ng

0 commit comments

Comments
 (0)