From 11264e508d887a0f8e4317963c0ee032b551023d Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Tue, 25 Jan 2022 23:57:08 +0000 Subject: Add compose for MariaDB --- .devcontainer/devcontainer.json | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to '.devcontainer/devcontainer.json') 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", -- cgit