Skip to content

Commit

Permalink
Merge pull request #181 from github/parkerbxyz/devcontainer
Browse files Browse the repository at this point in the history
Create Dev Container configuration
  • Loading branch information
zkoppert authored Jan 9, 2024
2 parents 961eded + d749a60 commit 768025f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
"dockerfile": "../Dockerfile"
},

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "echo hello",

// Configure tool-specific properties.
// "customizations": {},

// Connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "devcontainer"
}

0 comments on commit 768025f

Please sign in to comment.