From 08dca0afe33453f8a46661e3434610d017621650 Mon Sep 17 00:00:00 2001 From: David Venable Date: Tue, 26 Sep 2023 09:10:18 -0700 Subject: [PATCH] Support a local ARM Docker image by using Ubuntu Jammy for the base image. Also use only the JRE to keep the image size smaller. Resolves #3352. (#3355) Signed-off-by: David Venable --- release/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release/docker/Dockerfile b/release/docker/Dockerfile index 441677016c..4701bcd37b 100644 --- a/release/docker/Dockerfile +++ b/release/docker/Dockerfile @@ -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 @@ -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