mount docker socket for integration test
This commit is contained in:
parent
f72bfca206
commit
4210995c9e
2 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,8 @@
|
|||
},
|
||||
"mounts": [
|
||||
"source=${localWorkspaceFolder}/.devcontainer/start.sh,target=/start-lnbits.sh,type=bind",
|
||||
"source=${localWorkspaceFolder}/.devcontainer/setup.sh,target=/setup.sh,type=bind"
|
||||
"source=${localWorkspaceFolder}/.devcontainer/setup.sh,target=/setup.sh,type=bind",
|
||||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
||||
],
|
||||
"containerEnv": {
|
||||
"IS_DEV_CONTAINER": "true"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ CONTAINER_WORKSPACE_FOLDER=$1
|
|||
cd $CONTAINER_WORKSPACE_FOLDER
|
||||
sudo apt update -y
|
||||
sudo apt install -y curl
|
||||
sudo apt-get install -y docker.io
|
||||
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh
|
||||
sudo bash /tmp/nodesource_setup.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue