GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Adds devcontainer (#2807) · PhantomPixelDev/updatecli@b653b6b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .devcontainer
    • devcontainer.json
    • postcreate.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.devcontainer/devcontainer.json‎

Copy file name to clipboard
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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

‎.devcontainer/postcreate.sh‎

Copy file name to clipboard
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
go install github.com/goreleaser/goreleaser/v2@latest

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.