aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/netconf-pnp-simulator/engine/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks/netconf-pnp-simulator/engine/Dockerfile')
-rw-r--r--test/mocks/netconf-pnp-simulator/engine/Dockerfile8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/mocks/netconf-pnp-simulator/engine/Dockerfile b/test/mocks/netconf-pnp-simulator/engine/Dockerfile
index 5432b646a..426606953 100644
--- a/test/mocks/netconf-pnp-simulator/engine/Dockerfile
+++ b/test/mocks/netconf-pnp-simulator/engine/Dockerfile
@@ -142,7 +142,6 @@ RUN set -eux \
&& apk add \
libcurl \
libev \
- openssh-keygen \
pcre \
protobuf-c \
# v0.9.3 has somes bugs as warned in libnetconf2/CMakeLists.txt:237
@@ -162,13 +161,6 @@ RUN adduser --system --disabled-password --gecos 'Netconf User' netconf
ENV HOME=/home/netconf
VOLUME $HOME/.local/share/virtualenvs
-# generate ssh keys for netconf user
-RUN set -eux \
- && mkdir -p $HOME/.cache \
- && mkdir -p $HOME/.ssh \
- && ssh-keygen -t dsa -P '' -f $HOME/.ssh/id_dsa \
- && cat $HOME/.ssh/id_dsa.pub > $HOME/.ssh/authorized_keys
-
EXPOSE 830
COPY supervisord.conf /etc/supervisord.conf