Browse Source

Update Dockerfile

pull/305/head
Berndinox 6 years ago
committed by GitHub
parent
commit
070c72e6b2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Dockerfile

5
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 \

Loading…
Cancel
Save