aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2022-01-25 23:57:08 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2022-01-25 23:57:08 +0000
commit11264e508d887a0f8e4317963c0ee032b551023d (patch)
treec6d3601cf6f01892c9763686e3f72b18f918c875 /.devcontainer/devcontainer.json
parentfee02c8d30869f93a8bb8ac13609bb43d08e08fa (diff)
downloadpantry-11264e508d887a0f8e4317963c0ee032b551023d.tar.gz
pantry-11264e508d887a0f8e4317963c0ee032b551023d.tar.bz2
pantry-11264e508d887a0f8e4317963c0ee032b551023d.zip
Add compose for MariaDB
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json18
1 files changed, 4 insertions, 14 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 9e846c0..a89c455 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -2,19 +2,9 @@
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/java
{
"name": "Java",
- "build": {
- "dockerfile": "Dockerfile",
- "args": {
- // Update the VARIANT arg to pick a Java version: 11, 17
- // Append -bullseye or -buster to pin to an OS version.
- // Use the -bullseye variants on local arm64/Apple Silicon.
- "VARIANT": "17",
- // Options
- "INSTALL_MAVEN": "true",
- "INSTALL_GRADLE": "false",
- "NODE_VERSION": "lts/*"
- }
- },
+ "dockerComposeFile": "docker-compose.yml",
+ "service": "pantry",
+ "workspaceFolder": "/workspace",
// Set *default* container specific settings.json values on container create.
"settings": {
@@ -30,7 +20,7 @@
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
- // "postCreateCommand": "java -version",
+ "postCreateCommand": "mvn dependency:resolve",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",