Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirkamara committed Nov 17, 2022
1 parent 659db88 commit 73f76e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,6 @@
"forwardPorts": [
8000
],
// Give permission to access docker socket
// Run commands after the container is created.
"postCreateCommand": "./.devcontainer/scripts/post-create.sh"
}
6 changes: 5 additions & 1 deletion .devcontainer/scripts/post-create.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
set -e
set -o errexit
set -o pipefail
set -o nounset
# Uncomment this line to see each command for debugging (careful: this will show secrets!)
# set -o xtrace

# docker socket fixup
sudo bash ./devops/scripts/set_docker_sock_permission.sh

0 comments on commit 73f76e2

Please sign in to comment.