Skip to content

Commit 68571d7

Browse files
committed
postcreate
1 parent 5dcf990 commit 68571d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// "forwardPorts": [],
1818

1919
// Uncomment the next line to run commands after the container is created.
20-
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
20+
"postCreateCommand": "bash .devcontainer/postCreateCommand.sh",
2121

2222
// Configure tool-specific properties.
2323
"customizations": {

.devcontainer/postCreateCommand.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#/bin/bash
22

3+
export GIT_HTTPS=1
34
source setup.sh
45
echo 'export GIT_HTTPS=1' >> /root/.bashrc
56
echo 'source /workspaces/code/activate.sh' >> /root/.bashrc

0 commit comments

Comments
 (0)