GeezerVison is showing github.com — Adds devcontainer (#2807) · PhantomPixelDev/updatecli@b653b6b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +17Lines changed: 17 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
| 2 | +// README at: https://github.com/devcontainers/templates/tree/main/src/go |
| 3 | +{ |
| 4 | + "name": "Go", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/go:1-1.23-bookworm", |
| 7 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 8 | + // "features": {}, |
| 9 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 10 | + // "forwardPorts": [], |
| 11 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 12 | + "postCreateCommand": "./.devcontainer/postcreate.sh" |
| 13 | + // Configure tool-specific properties. |
| 14 | + // "customizations": {}, |
| 15 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 16 | + // "remoteUser": "root" |
| 17 | +} |
Collapse file
Copy file name to clipboard +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +#!/bin/sh |
| 2 | +go install github.com/goreleaser/goreleaser/v2@latest |