diff --git a/opensearch-master/Dockerfile b/opensearch-master/Dockerfile index 0cd7373..11a1d58 100644 --- a/opensearch-master/Dockerfile +++ b/opensearch-master/Dockerfile @@ -1,11 +1,10 @@ ARG BASE_IMAGE=opensearchproject/opensearch:latest FROM ${BASE_IMAGE} -# Install dependencies for configuration (Ubuntu uses apt) -RUN apt-get update -y && \ - apt-get install -y gettext-base jq && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* +# Install dependencies for configuration (Amazon Linux 2023 uses dnf) +RUN dnf update -y && \ + dnf install -y gettext jq && \ + dnf clean all # Copy configuration files and scripts COPY rootfs/ /