From a8ae3d7fb6650511342227631ce7f683613259b2 Mon Sep 17 00:00:00 2001 From: Frank Schnicke Date: Mon, 5 Feb 2024 08:37:06 +0100 Subject: [PATCH] Fixes Dockerfile Signed-off-by: Frank Schnicke --- .../basyx.components.AASServer/Dockerfile | 4 ++-- .../basyx.components.registry/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basyx.components/basyx.components.docker/basyx.components.AASServer/Dockerfile b/basyx.components/basyx.components.docker/basyx.components.AASServer/Dockerfile index 78880d4d..a5aa2c7c 100644 --- a/basyx.components/basyx.components.docker/basyx.components.AASServer/Dockerfile +++ b/basyx.components/basyx.components.docker/basyx.components.AASServer/Dockerfile @@ -1,8 +1,8 @@ FROM amazoncorretto:17 # Install dependency for wait-for-it-env.sh & wget for health check -RUN apt update && apt install -y jq && apt clean -RUN apt install -y wget +RUN yum -y update && yum -y install jq && yum -y clean all +RUN yum -y install wget # Copy built jar to image using the jar name specified in the pom.xml (JAR_FILE) ARG JAR_FILE diff --git a/basyx.components/basyx.components.docker/basyx.components.registry/Dockerfile b/basyx.components/basyx.components.docker/basyx.components.registry/Dockerfile index dc2c7ac1..e3f83e3a 100644 --- a/basyx.components/basyx.components.docker/basyx.components.registry/Dockerfile +++ b/basyx.components/basyx.components.docker/basyx.components.registry/Dockerfile @@ -1,7 +1,7 @@ FROM amazoncorretto:17 #Install wget for health check -RUN apt update && apt install -y wget && apt clean +RUN yum -y update && yum -y install wget && yum -y clean all # Copy built jar to image using the jar name specified in the pom.xml (JAR_FILE) ARG JAR_FILE