Remove unnecessary docker commands

This commit is contained in:
Alberto Soutullo
2025-06-30 19:00:21 +02:00
parent 44d253956c
commit 42802c99c7

View File

@@ -1,19 +1,3 @@
FROM python:3.11-slim
# Install required packages
RUN apt-get update && apt-get install -y \
curl \
ca-certificates \
gnupg \
apt-transport-https
# Download kubectl
RUN curl -LO "https://dl.k8s.io/release/$(curl -Ls https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
# Make it executable and move to path
RUN chmod +x kubectl && mv kubectl /usr/local/bin/
# Clean up
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
COPY init_container.py /init_container.py