Skip to content

Commit a70dd59

Browse files
authored
fix docker build (#124)
1 parent 883fb61 commit a70dd59

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ RUN curl https://baltocdn.com/helm/signing.asc | sudo apt-key add - && \
2020

2121
# Kubectl
2222
RUN apt-get update && \
23-
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
24-
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list && \
23+
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.31/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg && \
24+
chmod 644 /etc/apt/keyrings/kubernetes-apt-keyring.gpg && \
25+
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.31/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list && \
26+
chmod 644 /etc/apt/sources.list.d/kubernetes.list && \
2527
apt-get update && \
2628
apt-get install -y kubectl
2729

2830
# Node global
29-
RUN curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh && \
31+
RUN curl -sL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
3032
chmod +x nodesource_setup.sh && \
3133
./nodesource_setup.sh && \
3234
apt-get update &&\

0 commit comments

Comments
 (0)