Skip to content

Commit

Permalink
Merge pull request #553 from creydr/update-buildimage-to-use-new-k8s-…
Browse files Browse the repository at this point in the history
…pkg-repo-1.13

[release-1.13] Update build image to use new k8s pkg repo
  • Loading branch information
skonto authored Mar 4, 2024
2 parents c2534b2 + e519391 commit 15e55a4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openshift/ci-operator/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-open

RUN echo "[kubernetes]" >> /etc/yum.repos.d/kubernetes.repo && \
echo "name=Kubernetes" >> /etc/yum.repos.d/kubernetes.repo && \
echo "baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64" >> /etc/yum.repos.d/kubernetes.repo && \
echo "baseurl=https://pkgs.k8s.io/core:/stable:/v1.29/rpm/" >> /etc/yum.repos.d/kubernetes.repo && \
echo "enabled=1" >> /etc/yum.repos.d/kubernetes.repo && \
echo "gpgcheck=1" >> /etc/yum.repos.d/kubernetes.repo && \
echo "repo_gpgcheck=0" >> /etc/yum.repos.d/kubernetes.repo && \
echo "gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg" >> /etc/yum.repos.d/kubernetes.repo
echo "gpgkey=https://pkgs.k8s.io/core:/stable:/v1.29/rpm/repodata/repomd.xml.key" >> /etc/yum.repos.d/kubernetes.repo

RUN yum install -y kubectl httpd-tools

Expand Down

0 comments on commit 15e55a4

Please sign in to comment.