Skip to content

Commit

Permalink
fix system tests (elastic#10422)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali786XI authored Jul 10, 2024
1 parent 8bfeb17 commit 033f5be
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/hadoop/_dev/deploy/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ COPY ./files/yml /opt/hadoop/etc/hadoop
COPY ./files/environment.sh environment.sh
COPY ./files/wordcount.jar wordcount.jar
COPY ./files/start.sh /opt/hadoop/start.sh
COPY ./files/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo

RUN sudo yum install openssh-server openssh-clients -y;\
sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key;\
Expand Down
24 changes: 24 additions & 0 deletions packages/hadoop/_dev/deploy/docker/files/CentOS-Base.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

0 comments on commit 033f5be

Please sign in to comment.