Skip to content

Commit

Permalink
Fixes Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Schnicke <frank.schnicke@iese.fraunhofer.de>
  • Loading branch information
FrankSchnicke committed Feb 5, 2024
1 parent a3c990e commit a8ae3d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a8ae3d7

Please sign in to comment.