Skip to content

Commit

Permalink
fix(debian): Fix kubernetes apt repo
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed May 19, 2024
1 parent e376d15 commit dd909b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/debian/12.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list

# Kubernetes repo
RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add && \
apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/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.29/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list

# Docker CLI stuff.
RUN mkdir -p /etc/apt/keyrings && \
Expand Down

0 comments on commit dd909b3

Please sign in to comment.