You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
&& tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 \
30
-
&& rm -f /tmp/apache-maven.tar.gz \
31
-
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn; \
32
-
fi
21
+
ARG MAVEN_DOWNLOAD_SHA="no-check"
22
+
ENV MAVEN_HOME=/usr/local/share/maven
23
+
RUN if [ "${INSTALL_MAVEN}" = "true" ]; then /bin/bash /tmp/library-scripts/maven-debian.sh ${MAVEN_VERSION} ${MAVEN_HOME} ${USERNAME} ${MAVEN_DOWNLOAD_SHA}; fi \
# Allow for a consistant java home location for settings - image is changing over time
49
-
RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi
29
+
ARG GRADLE_DOWNLOAD_SHA="no-check"
30
+
ENV GRADLE_HOME=/usr/local/share/gradle
31
+
RUN if [ "${INSTALL_GRADLE}" = "true" ]; then /bin/bash /tmp/library-scripts/gradle-debian.sh ${GRADLE_VERSION} ${GRADLE_HOME} ${USERNAME} ${GRADLE_DOWNLOAD_SHA}; fi \
32
+
&& rm -f /tmp/library-scripts/gradle-debian.sh
50
33
51
34
# [Optional] Install Node.js for use with web applications - update the INSTALL_NODE arg in devcontainer.json to enable.
Copy file name to clipboardExpand all lines: containers/java/README.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,8 +98,6 @@ Given how frequently web applications use Node.js for front end code, this conta
98
98
99
99
5. Finally, press <kbd>F1</kbd> and run **Remote-Containers: Reopen Folder in Container** to start using the definition.
100
100
101
-
6. If you want to include maven or gradle build tools into your dev container, please uncomment the corresponding steps from the `containers/java-11/.devcontainer/Dockerfile`, and run **Remote-Containers: Rebuild Container** to rebuild the dev container.
102
-
103
101
## Testing the definition
104
102
105
103
This definition includes some test code that will help you verify it is working as expected on your system. Follow these steps:
0 commit comments