summaryrefslogtreecommitdiff
path: root/tools/sppc/build/ubuntu/suricata/Dockerfile.16.04.base
diff options
context:
space:
mode:
authorYasufumi Ogawa <yasufum.o@gmail.com>2019-11-01 16:32:21 +0900
committerYasufumi Ogawa <yasufum.o@gmail.com>2019-11-04 22:39:01 +0900
commit4259a4c5e35f825fc1f62ff30cacb15d483c49fc (patch)
tree66aa07932a5f8aff44b8782cf8a68e705ad3b662 /tools/sppc/build/ubuntu/suricata/Dockerfile.16.04.base
parent1b06b6fb24005d2451ef5baf0d90702960787caf (diff)
downloadspp-4259a4c5e35f825fc1f62ff30cacb15d483c49fc.zip
spp-4259a4c5e35f825fc1f62ff30cacb15d483c49fc.tar.gz
spp-4259a4c5e35f825fc1f62ff30cacb15d483c49fc.tar.xz
tools/sppc: separate building container image
Building container image takes a long time for retrieving several packages and compile them. This update is to divide each Dockerfile into installing with apt install and building DPDK and its apps. In the second step, it uses the image created in the first step. Files named as `Dockerfile.*.base` are for installing packages, and no need to run them basically because this built image is uploaded to docker hub. You just run Dockerfiles which do not have `base` in the name. You only need to run `Dockerfile.*.base` if you make some changes in the file, or in offline. Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Diffstat (limited to 'tools/sppc/build/ubuntu/suricata/Dockerfile.16.04.base')
-rw-r--r--tools/sppc/build/ubuntu/suricata/Dockerfile.16.04.base33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/sppc/build/ubuntu/suricata/Dockerfile.16.04.base b/tools/sppc/build/ubuntu/suricata/Dockerfile.16.04.base
new file mode 100644
index 0000000..eabed95
--- /dev/null
+++ b/tools/sppc/build/ubuntu/suricata/Dockerfile.16.04.base
@@ -0,0 +1,33 @@
+FROM ubuntu:16.04
+
+ENV DEBIAN_FRONTEND noninteractive
+
+RUN apt-get update && apt-get install -y \
+ git \
+ gcc \
+ python \
+ pciutils \
+ make \
+ libnuma-dev \
+ gcc-multilib \
+ libarchive-dev \
+ linux-headers-$(uname -r) \
+ libpcap-dev \
+ pkg-config \
+ vim \
+ curl \
+ wget \
+ automake \
+ autoconf \
+ liblz4-dev \
+ libpcre3 libpcre3-dbg libpcre3-dev build-essential libpcap-dev \
+ libnet1-dev libyaml-0-2 libyaml-dev pkg-config zlib1g zlib1g-dev \
+ libcap-ng-dev libcap-ng0 make libmagic-dev libjansson-dev \
+ libnss3-dev libgeoip-dev liblua5.1-dev libhiredis-dev libevent-dev \
+ libpcre3 libpcre3-dbg libpcre3-dev build-essential libpcap-dev \
+ libnet1-dev libyaml-0-2 libyaml-dev pkg-config zlib1g zlib1g-dev \
+ libcap-ng-dev libcap-ng0 make libmagic-dev libjansson-dev \
+ libnss3-dev libgeoip-dev liblua5.1-dev libhiredis-dev libevent-dev \
+ python-yaml rustc cargo \
+ && apt-get clean \
+ && rm -rf /var/lib/apt/lists/*