summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocker/Dockerfile22
1 files changed, 9 insertions, 13 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index cecf1b702..2d1fc6e1d 100755
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -5,26 +5,22 @@ WORKDIR /hc2vpp
ADD . /hc2vpp
RUN apt-get update && apt-get install -y \
- `# Utils` \
+ # Utils
iproute2 iputils-ping net-tools vim-tiny\
- `# VPP package dependencies` \
+ # VPP package dependencies
libnuma1 libssl1.0.0 \
- `# Honeycomb package dependencies` \
+ # Honeycomb package dependencies
openjdk-8-jre-headless \
-\
-`# Install packages` \
-\
+
+# 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` \
-\
+
+# Disable DPDK for PCI devices
&& echo "dpdk {\n no-pci\n}" >> /etc/vpp/startup.conf \
-\
-`# Reduce image size` \
-\
+
+# Reduce image size
&& rm -rf /var/lib/apt/lists/* `# clear apt cache` \
&& rm -rf packages