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
Also created a build and run script - I ran out of time to set up a proper prod-like compose environment.
Now we need maven installed and the main method selected in the pom.xml
Copy file name to clipboardExpand all lines: .devcontainer/Dockerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@ ARG VARIANT="14"
3
3
FROM mcr.microsoft.com/vscode/devcontainers/java:0-${VARIANT}
4
4
5
5
# [Optional] Install Maven or Gradle
6
-
ARG INSTALL_MAVEN="false"
6
+
ARG INSTALL_MAVEN="true"
7
7
ARG MAVEN_VERSION=3.6.3
8
8
ARG INSTALL_GRADLE="false"
9
9
ARG GRADLE_VERSION=5.4.1
10
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
11
&& if [ "${INSTALL_GRADLE}" = "true" ]; then su vscode -c "source /usr/local/sdkman/bin/sdkman-init.sh && sdk install gradle \"${GRADLE_VERSION}\""; fi
12
12
13
13
# [Optional] Install a version of Node.js using nvm for front end dev
14
-
ARG INSTALL_NODE="true"
14
+
ARG INSTALL_NODE="false"
15
15
ARG NODE_VERSION="lts/*"
16
16
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
0 commit comments