Skip to content

Commit 10b7429

Browse files
authored
chore: update devcontainer config to enable SSO option (#145)
1 parent 0ab338b commit 10b7429

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"hostRequirements": {
1919
"memory": "4gb"
2020
},
21+
"postCreateCommand": "bash ./.devcontainer/scripts/install-xdg.sh",
2122
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2223
// "forwardPorts": [],
2324
"remoteUser": "vscode"

.devcontainer/scripts/install-xdg.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Install xdg-utils to enable opening a browser from devcontainer
2+
# Currently no out-of-the box support available see: https://github.com/devcontainers/images/issues/885
3+
sudo apt-get update
4+
sudo apt-get install -y xdg-utils

.devcontainer/withenvfile/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"hostRequirements": {
1919
"memory": "4gb"
2020
},
21+
"postCreateCommand": "bash ./.devcontainer/scripts/install-xdg.sh",
2122
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2223
// "forwardPorts": [],
2324
"remoteUser": "vscode",

0 commit comments

Comments
 (0)