Skip to content

Commit

Permalink
Bump devcontainer image version
Browse files Browse the repository at this point in the history
- Bump image version
- Add Ballerina toml and gitignore files
  • Loading branch information
Asitha committed Dec 23, 2021
1 parent e5cc450 commit 1d4ae9a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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"
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.ballerina

target
5 changes: 5 additions & 0 deletions Ballerina.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[package]
distribution = "slbeta6"

[build-options]
observabilityIncluded = true

0 comments on commit 1d4ae9a

Please sign in to comment.