images/debian/Dockerfile
ange 7320dc37ee
All checks were successful
/ build (push) Successful in 33s
fix: curl --create-file-mode !local
2024-05-10 12:55:19 +02:00

16 lines
485 B
Docker

FROM debian:12-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gettext-base \
git \
jq \
&& rm -rf /var/lib/apt/lists/*
RUN V="$(curl -sSL https://dl.k8s.io/release/stable.txt)" \
&& 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