Skip to content

Commit

Permalink
Fix: missing dependencies for impacket
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nichtsfrei committed Aug 2, 2023
1 parent f3e709d commit a185ce7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ RUN apt-get update && \

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

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

0 comments on commit a185ce7

Please sign in to comment.