Skip to content

Commit

Permalink
apply yum updates and ensure curl is installed
Browse files Browse the repository at this point in the history
curl is often needed for heathchecks specified by downstream consumers
  • Loading branch information
ceharris committed Aug 2, 2023
1 parent b437307 commit 96b9987
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ RUN mvn install -P tomcat


FROM --platform=${TARGETPLATFORM} tomcat:8-jdk8-corretto
RUN rm -rf $CATALINA_HOME/webapps/ROOT
RUN yum update -y && \
yum install -y curl ca-certificates && \
yum clean all && \
rm -rf /var/cache/yum && \
rm -rf $CATALINA_HOME/webapps/ROOT
COPY --from=tomcat-build /app/target/*.war $CATALINA_HOME/webapps/ROOT.war

0 comments on commit 96b9987

Please sign in to comment.