/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.devcontainer/devcontainer.json
59 строк
2 KB
Brian Kroth
Docker image build caching improvements (#279)
03 апр 2023, 22:01
Не верифицирован
03 апр 2023, 22:01
05f9865
Код
Авторство
О чём код?
// For format details, see https://aka.ms/devcontainer.json. { "name": "Workspace Dockerfile", // We have no context for the devcontainer. "context": ".", // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. "dockerFile": "../docker/benchbase/devcontainer/Dockerfile", "build": { "args": { "http_proxy": "${localEnv:http_proxy}", "https_proxy": "${localEnv:https_proxy}", "no_proxy": "${localEnv:no_proxy}", "--tag": "benchbase-dev:latest" }, "cacheFrom": "benchbase.azurecr.io/benchbase-dev:latest" }, "initializeCommand": [ ".devcontainer/scripts/initializeCommand" ], "runArgs": [ // Secret injection as environment variables // https://code.visualstudio.com/remote/advancedcontainers/environment-variables#_option-2-use-an-env-file "--env-file=.env" ], "features": { "ghcr.io/devcontainers/features/docker-outside-of-docker": {}, "ghcr.io/stuartleeks/dev-container-features/shell-history": {} }, "containerEnv": { "http_proxy": "${localEnv:http_proxy}", "https_proxy": "${localEnv:https_proxy}", "no_proxy": "${localEnv:no_proxy}", "MAVEN_CONFIG": "${localEnv:HOME}/.m2", "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}", "CONTAINER_WORKSPACE_FOLDER": "${containerWorkspaceFolder}" }, // Set *default* container specific settings.json values on container create. "customizations": { "vscode": { "settings": {}, // Add the IDs of extensions you want installed when the container is created. "extensions": [ "github.vscode-github-actions", "GitHub.copilot", "eamodio.gitlens", "vscjava.vscode-java-pack", "EditorConfig.EditorConfig" ] } }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use the local maven cache. "mounts": [ "source=${localEnv:HOME}${localEnv:USERPROFILE}/.m2,target=/home/containeruser/.m2,type=bind,consistency=cached" ], "remoteUser": "containeruser", "containerUser": "containeruser" }