summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-12-05 07:57:22 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-12-05 08:16:20 +0100
commit1d3af1a3e8f1e51be846190a259cb03c60f7de3c (patch)
tree7ae12cf2d9d66744131ce469554a384e5e47630a /docker/Dockerfile
parentac0481981f2a71ceb03210e961b8a9d09bc0ebba (diff)
Remove vpp-api-java from Dockerfile
The vpp-api-java package is not directly used by honeycomb. Java API bindings are included in honeycomb package. Change-Id: I75dafd79cc8e9f1fc551cd43fcf3a46738b0dd2e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'docker/Dockerfile')
-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