Preparing for new location

This commit is contained in:
Peter Murray
2022-08-12 12:15:51 +00:00
committed by GitHub
parent b0ccd5d3fa
commit 411752e8de
28 changed files with 24074 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
{
"image": "ghcr.io/octodemo/container-nodejs-development:base-20220830",
"extensions": [
"Orta.vscode-jest",
],
// Install JDK and Maven for testing purposes
"postCreateCommand": ".devcontainer/install_maven.sh",
"postStartCommand": "npm install"
}
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
echo -x
JDK_VERSION="18.0.2.1"
JDK_INSTALLER="/tmp/openjdk.tar.gz"
MVN_VERSION="3.8.6"
MVN_INSTALLER="/tmp/mvn.tar.gz"
wget https://download.java.net/java/GA/jdk${JDK_VERSION}/db379da656dc47308e138f21b33976fa/1/GPL/openjdk-${JDK_VERSION}_linux-x64_bin.tar.gz -O ${JDK_INSTALLER}
tar -xC /usr/local/sbin -vf ${JDK_INSTALLER}
ln -s /usr/local/sbin/jdk-${JDK_VERSION}/bin/java /usr/local/sbin/java
ln -s /usr/local/sbin/jdk-${JDK_VERSION}/bin/javac /usr/local/sbin/javac
wget https://dlcdn.apache.org/maven/maven-3/${MVN_VERSION}/binaries/apache-maven-${MVN_VERSION}-bin.tar.gz -O ${MVN_INSTALLER}
tar -xC /usr/local/sbin -vf ${MVN_INSTALLER}
ln -s /usr/local/sbin/apache-maven-${MVN_VERSION}/bin/mvn /usr/local/sbin/mvn