Skip to content

Commit

Permalink
make obsolete elasticsearch docker to build (Users should follow migr…
Browse files Browse the repository at this point in the history
  • Loading branch information
t83714 committed Jul 2, 2024
1 parent f53e5b4 commit 28458bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions magda-elastic-search/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM --platform=linux/amd64 docker.elastic.co/elasticsearch/elasticsearch:6.8.22 as stage-amd64
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN yum -y install sudo zip
# Delete all x-pack modules
RUN find modules -type d -name "x-pack-*" -exec rm -r {} +
Expand Down

0 comments on commit 28458bb

Please sign in to comment.