Skip to content

Commit

Permalink
Dockerfile: use upstream dnsjit pkg and remove obsolete deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nicki-krizek committed Jul 14, 2021
1 parent 83aebe6 commit 8efbce4
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,35 +1,26 @@
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
RUN \
apt-get update -qq && \
apt-get install -y -qqq software-properties-common && \
add-apt-repository -y ppa:dns-oarc/dnsjit && \
apt-get update -qq && \
apt-get install -y -qqq \
dnsjit \
dnsjit-dev \
python3 \
python3-pip \
tshark \
jq \
libck-dev \
libluajit-5.1-dev \
libpcap-dev \
liblmdb-dev \
libgnutls28-dev \
libnghttp2-dev \
luajit \
libuv1-dev \
libgoogle-perftools-dev \
make \
automake \
libtool \
pkg-config \
git && \
rm -rf /var/lib/apt/lists/*
RUN \
git clone https://github.com/DNS-OARC/dnsjit.git && \
cd dnsjit && \
./autogen.sh && \
./configure && \
make && \
make install && \
cd ..

COPY . /shotgun
WORKDIR /shotgun
Expand Down

0 comments on commit 8efbce4

Please sign in to comment.