diff --git a/images/elasticsearch/7.11/Dockerfile b/images/elasticsearch/7.11/Dockerfile index aaf237db..7fc8c453 100644 --- a/images/elasticsearch/7.11/Dockerfile +++ b/images/elasticsearch/7.11/Dockerfile @@ -1,7 +1,7 @@ FROM docker.elastic.co/elasticsearch/elasticsearch:7.11.2 RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && \ - sed -i 's|#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* && \ + sed -i 's|#baseurl=http://mirror.centos.org|baseurl=https://mirror.rackspace.com\/centos-vault|g' /etc/yum.repos.d/CentOS-Linux-* && \ yum -y install zip && \ zip -q -d /usr/share/elasticsearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \ yum remove -y zip && \ diff --git a/src/Command/Image/GenerateEs.php b/src/Command/Image/GenerateEs.php index 623dd549..51ac68e2 100644 --- a/src/Command/Image/GenerateEs.php +++ b/src/Command/Image/GenerateEs.php @@ -103,11 +103,14 @@ protected function configure(): void */ public function execute(InputInterface $input, OutputInterface $output): int { +// phpcs:disable $fixRepo = <<versionMap as $version => $versionData) { $destination = $this->directoryList->getImagesRoot() . '/elasticsearch/' . $version; $dataDir = $this->directoryList->getImagesRoot() . '/elasticsearch/es/';