Skip to content

Commit

Permalink
Move tcpdump into /usr/bin Otherwise it's impossible to run tcpdump d…
Browse files Browse the repository at this point in the history
…ue to a docker bug (#1195)
  • Loading branch information
pavel-shirshov authored Nov 30, 2017
1 parent 51dfa17 commit d39dd39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockers/docker-ptf/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ RUN mkdir /var/run/sshd \
COPY ["supervisord.conf", "/etc/supervisor/"]
COPY ["conf.d/supervisord.conf", "conf.d/sshd.conf", "conf.d/ptf_nn_agent.conf", "/etc/supervisor/conf.d/"]

# Move tcpdump into /usr/bin Otherwise it's impossible to run tcpdump due to a docker bug
RUN mv /usr/sbin/tcpdump /usr/bin/tcpdump
RUN ln -s /usr/bin/tcpdump /usr/sbin/tcpdump

RUN mkdir -p /var/log/supervisor

EXPOSE 22
Expand Down

0 comments on commit d39dd39

Please sign in to comment.