36 lines
1004 B
JSON
36 lines
1004 B
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "docker build",
|
|
"type": "shell",
|
|
"command": "docker build -t ${workspaceFolderBasename} . ",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "into docker image",
|
|
"type": "shell",
|
|
"windows":{"command": "c:/Program Files/Docker/Docker/Resources/bin/docker"},
|
|
"args": [
|
|
"run",
|
|
"--rm",
|
|
"-it",
|
|
"${input:dockerID}",
|
|
"bash"
|
|
]
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id":"dockerID",
|
|
"description": "docker id to deep into",
|
|
"default": "ex: b950ac16e056",
|
|
"type": "promptString"
|
|
}
|
|
]
|
|
} |