{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "test", "type": "shell", "command": "mvn -B test", "group": "test" }, { "label": "compile", "type": "shell", "command": "mvn -B compile", "group": "build" }, { "label": "package", "type": "shell", "command": "mvn clean package", "dependsOn": ["compile"] }, { "label": "dockerBuild", "type": "shell", "command": "docker build -t sixdeploy:latest .", "dependsOn": ["package"] }, { "label": "run", "type": "shell", "command": "docker run --rm -p 8888:8080 --name test sixdeploy:latest", "dependsOn": ["dockerBuild"] } ] }