summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: cecf1b702c194f541600cb671fc4b9eb8fea6f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ubuntu:16.04

WORKDIR /hc2vpp

ADD . /hc2vpp

RUN apt-get update && apt-get install -y \
    `# Utils` \
    iproute2 iputils-ping net-tools vim-tiny\
    `# VPP package dependencies` \
    libnuma1 libssl1.0.0 \
    `# Honeycomb package dependencies` \
    openjdk-8-jre-headless \
\
`# Install packages` \
\
&& dpkg -i packages/vpp-lib_*.deb \
&& dpkg -i packages/vpp_*.deb \
&& dpkg -i packages/vpp-plugins_*.deb \
&& dpkg -i packages/vpp-api-java*.deb \
&& dpkg -i packages/honeycomb_*.deb \
\
`# Disable DPDK for PCI devices` \
\
&& echo "dpdk {\n  no-pci\n}" >> /etc/vpp/startup.conf \
\
`# Reduce image size` \
\
&& rm -rf /var/lib/apt/lists/* `# clear apt cache` \
&& rm -rf packages