We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb4c8c commit 3d80f12Copy full SHA for 3d80f12
Dockerfile
@@ -3,7 +3,6 @@ FROM alpine:latest
3
# This makes it easy to build tagged images with different `kubectl` versions.
4
ARG KUBECTL_VERSION="v1.13.0"
5
6
-USER root
7
RUN apk add --update openssl
8
RUN wget https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl \
9
&& chmod +x ./kubectl && mv ./kubectl /usr/local/bin/kubectl
@@ -13,4 +12,6 @@ RUN chmod +x /app/generate_certificate.sh
13
12
14
WORKDIR /app
15
+USER 1000
16
+
17
CMD ["./generate_certificate.sh"]
0 commit comments