dockerfiles/wireshark/Dockerfile
Jessica Frazelle e256239308
updates
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-11-23 13:05:19 -08:00

31 lines
683 B
Docker

# 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" ]