Skip to content

Commit

Permalink
Add instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuomas Tielinen committed Aug 26, 2024
1 parent 06d3f4b commit 5ed3005
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,20 @@ Available features can be found [here](https://containers.dev/features).

## GitHub Actions

Actions workflows need read and write permissions to push images to ghcr.io. Go to repository settings > Actions > General > Workflow permissions > select **Read and write permissions**.
Actions workflows need read and write permissions to push images to ghcr.io. Go to repository settings > Actions > General > Workflow permissions > select **Read and write permissions**.

## Local Dev Container configurations

You can use local dev container configurations, so that they don't need to be pushed into shared repositories. The configurations are stored in the path: ~/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/configs/<name-of-the-directory>/.devcontainer/devcontainer.json

Here is a basic configuration file:

```json
{
"name": "work tools - Local Configuration",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "ghcr.io/tuomastielinen/dev-container-work-tools/devcontainer"
}
```

To open a folder in a dev container, open the command palette and select: **Dev Containers: Open Folder in Container...**. Then select the desired configuration file.

0 comments on commit 5ed3005

Please sign in to comment.