Skip to content

Commit

Permalink
Fix centos mirrorlist for kafka consumer tests (#17975)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakur committed Jul 3, 2024
1 parent 3b646f7 commit 23f0c89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kafka_consumer/tests/docker/kerberos/kdc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ FROM centos:7
ENV container docker

# 1. Installing Kerberos server, admin and client
# mirrorlist.contos.org does not exits anymore, the below stack exchange post suggests a workaround
# https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
RUN yum install -y krb5-server krb5-libs krb5-auth-dialog
RUN yum install -y krb5-workstation krb5-libs

Expand Down

0 comments on commit 23f0c89

Please sign in to comment.