Skip to content

Commit

Permalink
Support a local ARM Docker image by using Ubuntu Jammy for the base i…
Browse files Browse the repository at this point in the history
…mage. Also use only the JRE to keep the image size smaller. Resolves opensearch-project#3352. (opensearch-project#3355)

Signed-off-by: David Venable <dlv@amazon.com>
  • Loading branch information
dlvenable authored Sep 26, 2023
1 parent fee636c commit 08dca0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:17-jdk-alpine
FROM eclipse-temurin:17-jre-jammy
ARG PIPELINE_FILEPATH
ARG CONFIG_FILEPATH
ARG ARCHIVE_FILE
Expand All @@ -9,8 +9,8 @@ ENV ENV_CONFIG_FILEPATH=$CONFIG_FILEPATH
ENV ENV_PIPELINE_FILEPATH=$PIPELINE_FILEPATH

# Update all packages
RUN apk update
RUN apk add --no-cache bash bc
RUN apt -y update
RUN apt -y install bash bc

RUN mkdir -p /var/log/data-prepper
ADD $ARCHIVE_FILE /usr/share
Expand Down

0 comments on commit 08dca0a

Please sign in to comment.