Skip to content

Commit

Permalink
Try changing base of container
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <cwperx@amazon.com>
  • Loading branch information
cwperks committed Oct 23, 2024
1 parent 7edf5ef commit d61124b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Set gid=0 and make group perms==owner perms
################################################################################

FROM centos:7 AS prep_open_search_files
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS prep_open_search_files
ARG JDK_VER=11

ENV PATH /usr/share/opensearch/bin:$PATH
Expand Down Expand Up @@ -79,6 +79,8 @@ FROM centos:7

ENV OPENSEARCH_CONTAINER true

RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf

RUN \
rpm --rebuilddb && yum clean all && \
yum install -y epel-release && \
Expand Down

0 comments on commit d61124b

Please sign in to comment.