Skip to content

Commit

Permalink
Switch to new k8s package repositories
Browse files Browse the repository at this point in the history
From September 13th the legacy Google-hosted package repositories
will be frozen and all future releases will only be posted to the
new community-owned package repositories at pkgs.k8s.io
  • Loading branch information
AlanGreene authored and tekton-robot committed Sep 11, 2023
1 parent 3d0ffa5 commit 4d92c5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/e2e/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
# limitations under the License.

FROM cypress/browsers:node18.12.0-chrome107
RUN curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://dl.k8s.io/apt/doc/apt-key.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 &&\
RUN apt-get update && apt-get install -y gpg &&\
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | gpg --dearmor -o /usr/share/keyrings/kubernetes-apt-keyring.gpg &&\
echo "deb [signed-by=/usr/share/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /" | tee /etc/apt/sources.list.d/kubernetes.list &&\
apt-get update && apt-get install -y \
kubectl \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 4d92c5b

Please sign in to comment.