Skip to content

Commit

Permalink
Switched to root.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm authored Aug 1, 2024
1 parent 65691ea commit c8e05b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ FROM python:3.8-slim

RUN pip install snmpsim

RUN adduser --system snmpsim

ADD data /usr/local/snmpsim/data

EXPOSE 161/udp

CMD snmpsim-command-responder --agent-udpv4-endpoint=0.0.0.0:161 --process-user=snmpsim --process-group=nogroup $EXTRA_FLAGS
CMD SNMPSIM_ALLOW_ROOT=true snmpsim-command-responder --agent-udpv4-endpoint=0.0.0.0:161 $EXTRA_FLAGS

0 comments on commit c8e05b5

Please sign in to comment.