diff --git a/debian/Dockerfile b/debian/Dockerfile index 3d5c9ff..c36323a 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -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