Skip to content

Commit a185ce7

Browse files
committed
Fix: missing dependencies for impacket
On apt-get remove python3-impacket the dependencies will not be removed and picked up on pip install while being removed on the auto remove later on. To fix it the auto remove is executed after removing python3-impacket and before installing pip install.
1 parent f3e709d commit a185ce7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.docker/prod.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ RUN apt-get update && \
5151

5252
# produces the bug ` ‘/usr/share/doc/python3-impacket/examples/wmiexec.py’: [Errno 2] No such file or directory`
5353
RUN apt-get remove -y python3-impacket || true
54+
RUN apt-get autoremove -y
5455

5556
RUN addgroup --gid 1001 --system ospd-openvas && \
5657
adduser --no-create-home --shell /bin/false --disabled-password \

0 commit comments

Comments
 (0)