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
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.137.0/containers/java/.devcontainer/base.Dockerfile
2
+
ARG VARIANT="14"
3
+
FROM mcr.microsoft.com/vscode/devcontainers/java:0-${VARIANT}
4
+
5
+
# [Optional] Install Maven or Gradle
6
+
ARG INSTALL_MAVEN="false"
7
+
ARG MAVEN_VERSION=3.6.3
8
+
ARG INSTALL_GRADLE="false"
9
+
ARG GRADLE_VERSION=5.4.1
10
+
RUN if [ "${INSTALL_MAVEN}" = "true" ]; then su vscode -c "source /usr/local/sdkman/bin/sdkman-init.sh && sdk install maven \"${MAVEN_VERSION}\""; fi \
11
+
&& if [ "${INSTALL_GRADLE}" = "true" ]; then su vscode -c "source /usr/local/sdkman/bin/sdkman-init.sh && sdk install gradle \"${GRADLE_VERSION}\""; fi
12
+
13
+
# [Optional] Install a version of Node.js using nvm for front end dev
14
+
ARG INSTALL_NODE="true"
15
+
ARG NODE_VERSION="lts/*"
16
+
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
17
+
18
+
# [Optional] Uncomment this section to install additional OS packages.
19
+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
0 commit comments