From 249cd4617244a1294dd1e28ebc262e1b393e36c6 Mon Sep 17 00:00:00 2001 From: beierlm Date: Wed, 7 Apr 2021 14:19:03 -0400 Subject: [PATCH] Fixes Bug 1492 Adds ssh-keygen to the final layer as it is needed at runtime. Change-Id: I2bd773a388b0d26b453ebb5053f3f07e9473996a Signed-off-by: beierlm --- docker/LCM/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/LCM/Dockerfile b/docker/LCM/Dockerfile index 0038e78a..0c336d0c 100644 --- a/docker/LCM/Dockerfile +++ b/docker/LCM/Dockerfile @@ -29,7 +29,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes install \ apt-transport-https=1.6.12ubuntu0.2 \ - gnupg2=2.2.4-1ubuntu1.4 + gnupg2=2.2.4-1ubuntu1.4 \ + openssh-client RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \ && echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list \ @@ -80,6 +81,8 @@ COPY --from=INSTALL /usr/bin/kubectl /usr/bin/kubectl COPY --from=INSTALL /usr/local/bin/helm /usr/local/bin/helm COPY --from=INSTALL /usr/local/bin/helm3 /usr/local/bin/helm3 COPY --from=INSTALL /usr/local/bin/juju /usr/local/bin/juju +COPY --from=INSTALL /usr/bin/ssh-keygen /usr/bin/ssh-keygen +COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/ ######################################################################## -- 2.25.1