From 070c72e6b2b77d6a149e64710b040688c936d585 Mon Sep 17 00:00:00 2001 From: Berndinox Date: Tue, 9 Jul 2019 12:04:30 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa85ce7..5110f08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,9 @@ COPY --from=builder /usr/src/app/dist /usr/src/app/dist COPY --from=builder /usr/src/app/node_modules /usr/src/app/node_modules COPY package.json /usr/src/app COPY index.js /usr/src/app -RUN mkdir ~/.ssh -RUN ssh-keyscan -H wetty-ssh >> ~/.ssh/known_hosts +RUN mkdir ~/.ssh \ + && ssh-keyscan -H wetty-ssh >> ~/.ssh/known_hosts \ + && adduser bernd -D ADD https://storage.googleapis.com/kubernetes-release/release/${KUBE_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl RUN chmod +x /usr/local/bin/kubectl \