Skip to content

Commit

Permalink
auto commit and push by cuilan on 2024-12-13 12:07:56
Browse files Browse the repository at this point in the history
  • Loading branch information
cuilan committed Dec 13, 2024
1 parent 9e1bd65 commit 6b97de2
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions tomcat/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,33 @@ VERSION 0.8

DO ../udcs+BUILD_DATE

TOMCAT:
DEBIAN_PKG:
FUNCTION
DO ../udcs+LABEL
DO ../udcs/os/debian+UPGRADE
DO ../udcs/os/debian+COMMON_PKG
DO ../udcs/os/debian+LOCALE
DO ../udcs/os/debian+TIMEZONE

TOMCAT:
FUNCTION
ENV CATALINA_HOME /usr/local/tomcat
ENV PATH $CATALINA_HOME/bin:$PATH
ENV TOMCAT_NATIVE_LIBDIR $CATALINA_HOME/native-jni-lib
ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$TOMCAT_NATIVE_LIBDIR
WORKDIR $CATALINA_HOME

EXPOSE 8080

ENTRYPOINT []

CMD ["catalina.sh" "run"]
CMD ["catalina.sh", "run"]

############################# runtime ##############################

build-tomcat9.0.97-jre17:
DO ../udcs/image+TOMCAT9_JRE17
DO +DEBIAN_PKG
DO +TOMCAT

ARG --required BUILD_DATE
Expand Down

0 comments on commit 6b97de2

Please sign in to comment.