Skip to content
Snippets Groups Projects
Commit 5a4f7a55 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

run as root

parent b7137545
No related merge requests found
Pipeline #558 passed with stages
in 1 minute and 34 seconds
......@@ -6,6 +6,4 @@ WORKDIR /app
RUN apk add --no-cache bash curl \
&& curl -L https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl >/usr/local/bin/kubectl \
&& curl -L https://storage.googleapis.com/kubernetes-helm/helm-v2.9.1-linux-amd64.tar.gz | tar -zxf - -C /tmp linux-amd64/helm -O >/usr/local/bin/helm \
&& chmod a+x /usr/local/bin/deployer /usr/local/bin/kubectl /usr/local/bin/helm \
&& adduser -DS deployer
USER deployer
\ No newline at end of file
&& chmod a+x /usr/local/bin/deployer /usr/local/bin/kubectl /usr/local/bin/helm
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment