-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33c09eb
commit 25d3318
Showing
6 changed files
with
58 additions
and
1,102 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,55 @@ | ||
// For format details, see https://aka.ms/vscode-remote/devcontainer.json | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/python | ||
{ | ||
"name": "EDB Docs w/ Python 3 and Node.js 14", | ||
"dockerFile": "Dockerfile", | ||
"name": "Python 3", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"moby": true, | ||
"azureDnsAutoDetection": true, | ||
"installDockerBuildx": true, | ||
"installDockerComposeSwitch": true, | ||
"version": "latest", | ||
"dockerDashComposeVersion": "latest" | ||
}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": { | ||
"autoPull": true, | ||
"version": "latest" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": { | ||
"nodeGypDependencies": true, | ||
"version": "lts", | ||
"nvmVersion": "latest" | ||
}, | ||
"ghcr.io/devcontainers-contrib/features/direnv:1": { | ||
"version": "latest" | ||
}, | ||
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": { | ||
"plugins": "ssh-agent npm", | ||
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions", | ||
"username": "vscode" | ||
}, | ||
"ghcr.io/flexwie/devcontainer-features/op:1": {} | ||
}, | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/usr/bin/zsh" | ||
}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"dbaeumer.vscode-eslint", | ||
"ms-azuretools.vscode-docker", | ||
"eamodio.gitlens", | ||
"github.vscode-pull-request-github" | ||
], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [8000], | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "pip3 install --user -r requirements.txt", | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// this configures NPM (without icons unless NPM_TOKEN is configured) and direnv (for root only) | ||
// this installs Gatsby, configures NPM (without icons unless NPM_TOKEN is configured) and direnv | ||
// for icons, will still need to create & edit .env.development | ||
"postCreateCommand": "echo 'eval \"$(direnv hook bash)\"' >> ~/.bashrc && echo 'eval \"$(direnv hook zsh)\"' >> ~/.zshrc && ([ ! -f .envrc ] || direnv allow) && direnv exec . npm run setup", | ||
"postCreateCommand": "npm install -g gatsby-cli && echo 'eval \"$(direnv hook bash)\"' >> ~/.bashrc && echo 'eval \"$(direnv hook zsh)\"' >> ~/.zshrc && ([ ! -f .envrc ] || direnv allow) && direnv exec . npm run setup" | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// docker in docker (https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/docker-in-docker.md) | ||
"runArgs": ["--init", "--privileged"], | ||
"overrideCommand": false | ||
|
||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. | ||
// "remoteUser": "node" | ||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
Oops, something went wrong.
25d3318
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://edb-docs-staging.netlify.app as production
🚀 Deployed on https://6646eb408c65b161974cda74--edb-docs-staging.netlify.app