Add bind mount for Maven settings.xml file

This commit is contained in:
zhiqiang feng
2024-02-20 11:17:17 +00:00
parent 533637f54c
commit da6e081b06
+1
View File
@@ -41,6 +41,7 @@
},
"mounts": [
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached",
"source=${localEnv:HOME}/.m2/settings.xml,target=/usr/local/sdkman/candidates/maven/current/conf/settings.xml,type=bind,consistency=cached"
]
// Use 'forwardPorts' to make a list of ports inside the container available locally.