Revert "Making docker.host.internal resolvable in Docker for Linux"
This reverts commit ea8cb7565ee8a74db3dfff950a8369d790d48101.
Change-Id: I0bc557c4d8da62ac3fd552056e1a335d25104835
(cherry picked from commit bae733a4fe3e8bf92ae7f2e4a47072e3552c9401)
diff --git a/Dockerfile b/Dockerfile
index 6a93503..92fc209 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,9 +15,7 @@
bzip2 \
build-essential \
curl \
- unzip \
- iproute2
-
+ unzip
RUN apt-get update && apt-get install -y ${BUILD_DEPS}
# Install Bazel
@@ -67,13 +65,6 @@
COPY --from=builder /output/ /root/onos/
WORKDIR /root/onos
-# Add ip command
-COPY --from=builder /bin/ip /bin/
-COPY --from=builder /lib/x86_64-linux-gnu/libmnl.so* /lib/x86_64-linux-gnu/
-COPY --from=builder /usr/lib/x86_64-linux-gnu/libelf.so* /lib/x86_64-linux-gnu/
-COPY --from=builder /sbin/ip /sbin/
-RUN ldconfig
-
# Set JAVA_HOME (by default not exported by zulu images)
ARG JDK_VER
ENV JAVA_HOME /usr/lib/jvm/zulu-${JDK_VER}-amd64