This commit is contained in:
parent
ad23ec2d7f
commit
7320dc37ee
6
debian/Dockerfile
vendored
6
debian/Dockerfile
vendored
@ -8,8 +8,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
jq \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN V="$(curl -sSL https://dl.k8s.io/release/stable.txt)" \
|
||||
&& curl -sSL --create-file-mode 0755 \
|
||||
-o /usr/local/bin/kubectl \
|
||||
"https://dl.k8s.io/release/$V/bin/linux/amd64/kubectl"
|
||||
&& curl -sSLo /usr/local/bin/kubectl \
|
||||
"https://dl.k8s.io/release/$V/bin/linux/amd64/kubectl" \
|
||||
&& chmod 0755 /usr/local/bin/kubectl
|
||||
RUN useradd -m app
|
||||
USER app
|
||||
|
Loading…
Reference in New Issue
Block a user