add deploy devcontainer + upgrade woodpecker version
This commit is contained in:
6
.devcontainer/Dockerfile
Normal file
6
.devcontainer/Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM debian:12
|
||||
|
||||
RUN apt update &&\
|
||||
apt install ca-certificates curl git -y &&\
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh &&\
|
||||
sh get-docker.sh
|
10
.devcontainer/devcontainer.json
Normal file
10
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"workspaceFolder": "/workspace",
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,Z",
|
||||
"mounts": [
|
||||
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,readonly"
|
||||
],
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user