diff --git a/deployment/images/Dockerfile.deb-tools b/deployment/images/Dockerfile.deb-tools new file mode 100644 index 0000000..d4a8d5f --- /dev/null +++ b/deployment/images/Dockerfile.deb-tools @@ -0,0 +1,25 @@ +FROM debian:bookworm-slim + +# Prevent interactive prompts during package installation +ENV DEBIAN_FRONTEND=noninteractive + +# Update package list and install required packages +RUN apt-get update && apt-get install -y \ + nano \ + make \ + curl \ + jq \ + apt-transport-https \ + ca-certificates \ + gnupg \ + && rm -rf /var/lib/apt/lists/* + +# Add Kubernetes repository and install kubectl +RUN curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/kubernetes-archive-keyring.gpg \ + && echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list \ + && apt-get update \ + && apt-get install -y kubectl \ + && rm -rf /var/lib/apt/lists/* + +# Set default command to bash +CMD ["/bin/bash"]