- gcc=4:7.4.0-1ubuntu2.3 \
- python3=3.6.7-1~18.04 \
- python3-dev=3.6.7-1~18.04 \
- python3-setuptools=39.0.1-2 \
- curl=7.58.0-2ubuntu3.13 && \
- python3 -m easy_install pip==21.0.1
-
-RUN DEBIAN_FRONTEND=noninteractive apt-get --yes install \
- apt-transport-https=1.6.12ubuntu0.2 \
- gnupg2=2.2.4-1ubuntu1.4 \
- openssh-client
-
-RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \
- && echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list \
- && apt-get update && apt-get install -y kubectl=1.20.4-00
-
-RUN curl https://get.helm.sh/helm-v2.15.2-linux-amd64.tar.gz --output helm-v2.15.2.tar.gz \
- && tar -zxvf helm-v2.15.2.tar.gz \
+ gcc=4:11.* \
+ python3=3.10.* \
+ python3-dev=3.10.* \
+ python3-pip=22.0.* \
+ curl=7.81.* \
+ && rm -rf /var/lib/apt/lists/*
+
+########### End of common preparation
+
+RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
+ DEBIAN_FRONTEND=noninteractive apt-get --yes install \
+ apt-transport-https=2.4.* \
+ gnupg2=2.2.* \
+ openssh-client=1:8.* \
+ && rm -rf /var/lib/apt/lists/*
+
+# https://kubernetes.io/releases/
+RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg \
+ && echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list \
+ && apt-get update && apt-get install -y kubectl=1.30.1-1.1
+
+RUN curl https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz --output helm-v2.17.0.tar.gz \
+ && tar -zxvf helm-v2.17.0.tar.gz \