Skip to content

Commit 02a84dc

Browse files
authored
Merge pull request #21 from PeterDaveHello/ImproveDockerfile
Remove additional `--update` for `apk` in Dockerfile
2 parents 7374874 + d63c869 commit 02a84dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM python:3.8-alpine
22

33
RUN apk upgrade
4-
RUN apk --update add --no-cache rust cargo openssl-dev libffi-dev py3-pip python3 samba-client samba-common-tools yaml-dev
5-
RUN apk --update add --virtual build-dependencies build-base git \
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 \
66
&& git clone https://github.com/cddmp/enum4linux-ng.git \
77
&& pip install -r enum4linux-ng/requirements.txt \
88
&& apk del build-dependencies

0 commit comments

Comments
 (0)