Skip to content

Commit

Permalink
dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir committed Mar 14, 2024
1 parent f14c74a commit 72fab30
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ USER ${RUN_USER}
FROM prod as dev
USER root
RUN apt update \
&& apt install git openjdk-17-jdk -y \
&& apt install tini git openjdk-17-jdk -y
# Tomcat prioritizes JRE_HOME over JAVA_HOME and we run with jdk8 and build wtih jdk17
ENV JRE_HOME /opt/java/openjdk
ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64
ENV JRE_HOME=/opt/java/openjdk
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
ENTRYPOINT ["tini", "--", "sleep", "infinity"]

0 comments on commit 72fab30

Please sign in to comment.