From 1d4ae9a5b0b69fb2b4dffebf35a495c30ea71674 Mon Sep 17 00:00:00 2001 From: Asitha Nanayakkara Date: Fri, 24 Dec 2021 03:25:39 +0530 Subject: [PATCH] Bump devcontainer image version - Bump image version - Add Ballerina toml and gitignore files --- .devcontainer/devcontainer.json | 21 +++++++++++++-------- .gitignore | 3 +++ Ballerina.toml | 5 +++++ 3 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 .gitignore create mode 100644 Ballerina.toml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ed74696..2448760 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,13 +5,13 @@ "build": { "dockerfile": "Dockerfile", // Update 'VARIANT' to pick a Ballerina version - "args": { "VARIANT": "swan-lake-beta6" } + "args": { "VARIANT": "swan-lake-beta6-r4" } }, // Set *default* container specific settings.json values on container create. - "settings": { - "terminal.integrated.shell.linux": "/bin/bash" - }, + // "settings": { + // "terminal.integrated.shell.linux": "/bin/bash" + // }, // Add the IDs of extensions you want installed when the container is created. "extensions": [ @@ -20,11 +20,16 @@ ], // Use 'forwardPorts' to make a list of ports inside the container available locally. - "forwardPorts": [8080], + // "forwardPorts": [8080], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "uname -a", + "initializeCommand": "mkdir -pv ./.ballerina", + "mounts": [ + "type=bind,source=${localWorkspaceFolder}/.ballerina/,target=/home/vscode/.ballerina" + ], + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "", + // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode" -} +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e598d7f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.ballerina + +target \ No newline at end of file diff --git a/Ballerina.toml b/Ballerina.toml new file mode 100644 index 0000000..2a70c7c --- /dev/null +++ b/Ballerina.toml @@ -0,0 +1,5 @@ +[package] +distribution = "slbeta6" + +[build-options] +observabilityIncluded = true