images/debian/Dockerfile
ange e893466e86
All checks were successful
/ build (push) Successful in 25s
feat: openssh-client
2024-11-18 10:41:33 +00:00

17 lines
510 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 \
openssh-client \
&& 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