mirror of
https://github.com/zjdyzww/harness.git
synced 2026-09-28 06:13:43 +08:00
* Updating dockerhub reference and connector ref in devcontainer. * Adding commit sha to devcontainer dockerfile for docker layer cache invalidation. * Updating .devcontainer/Dockerfile to use secrets for scm credentials. * feat: [CDE-1009]: Changing devcontainer image tag. * feat: [CDE-1009]: Adding dockerfile and devcontainer for gitness. * feat: [CDE-1009]: Adding dockerfile and devcontainer for gitness.
19 lines
598 B
JSON
19 lines
598 B
JSON
{
|
|
"image": "harness0.harness.io/oci/gitspaces-image-registry/gitness-base:main-amd64",
|
|
"remoteUser": "root",
|
|
"forwardPorts": [
|
|
"3000"
|
|
],
|
|
"customizations": {
|
|
"harnessGitspaces": {
|
|
"connectors": [
|
|
{
|
|
"type": "DockerRegistry",
|
|
"identifier": "org.gitspacesimageregistry"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"postCreateCommand": "sudo chmod +x /root/gitness/.devcontainer/postCreate.sh && /root/gitness/.devcontainer/postCreate.sh",
|
|
"postStartCommand": "sudo chmod +x /root/gitness/.devcontainer/postStart.sh && /root/gitness/.devcontainer/postStart.sh"
|
|
} |