This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
java-8-tomcat-8.5/.devcontainer Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -30,5 +30,8 @@ RUN apt-get autoremove -y \
30
30
&& rm -rf /var/lib/apt/lists/*
31
31
ENV DEBIAN_FRONTEND=dialog
32
32
33
+ # Allow for a consistant java home location for settings - image is changing over time
34
+ RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi
35
+
33
36
# Set the default shell to bash instead of sh
34
37
ENV SHELL /bin/bash
Original file line number Diff line number Diff line change @@ -38,5 +38,8 @@ RUN apt-get autoremove -y \
38
38
&& rm -rf /var/lib/apt/lists/*
39
39
ENV DEBIAN_FRONTEND=dialog
40
40
41
+ # Allow for a consistant java home location for settings - image is changing over time
42
+ RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi
43
+
41
44
# Set the default shell to bash instead of sh
42
45
ENV SHELL /bin/bash
Original file line number Diff line number Diff line change @@ -30,5 +30,8 @@ RUN apt-get autoremove -y \
30
30
&& rm -rf /var/lib/apt/lists/*
31
31
ENV DEBIAN_FRONTEND=dialog
32
32
33
+ # Allow for a consistant java home location for settings - image is changing over time
34
+ RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi
35
+
33
36
# Set the default shell to bash instead of sh
34
37
ENV SHELL /bin/bash
You can’t perform that action at this time.
0 commit comments