dockerfiles/wireshark/Dockerfile
Jess Frazelle 14dfd14c96
fix wireshark
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-20 15:31:22 -07:00

32 lines
718 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:16.04
MAINTAINER Jessie Frazelle <jess@linux.com>
ENV DEBIAN_FRONTEND=noninteractive
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" ]