Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle
2015-11-23 13:05:19 -08:00
parent 4332fda3a8
commit e256239308
9 changed files with 42 additions and 289 deletions

30
wireshark/Dockerfile Normal file
View File

@@ -0,0 +1,30 @@
# Run wireshark in a container
#
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --name wireshark \
# jess/wireshark
#
FROM ubuntu:14.04
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
software-properties-common \
--no-install-recommends && \
add-apt-repository ppa:wireshark-dev/stable && \
apt-get update && \
apt-get install -y \
wireshark \
&& rm -rf /var/lib/apt/lists/*
ENV HOME /home/wireshark
RUN useradd --create-home --home-dir $HOME wireshark \
&& chown -R wireshark:wireshark $HOME
USER wireshark
WORKDIR wireshark
ENTRYPOINT [ "wireshark" ]