Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.69 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.69 KB

Go Dev Container    GitHub release (latest SemVer)  GitHub Workflow Status

A complete development container for Go for use with VSCode/GitHub Codespaces


Features

  • Go with basic Go development tools
  • Uses my dotfiles via a devcontainer feature
  • Use on amd64 and aarch64

Local Usage Requirements

Usage

  1. In the root of your project, create a directory named .devcontainer
  2. Copy the devcontainer.json file from this repository to the newly created directory
  3. Open the project in the devcontainer via the devcontainer CLI, the commands in VSCode, or in a GitHub Codespace

Image Customization

You can use this image along with devcontainer features, for example my dotfiles can be included by adding the following snippet in the devcontainer.json files:

"features": {
  "ghcr.io/willfantom/features/dotfiles:1": {}
},

Docker-In-Docker and Docker-Outside-Of-Docker can also be used along with this devcontainer:

  • "ghcr.io/devcontainers/features/docker-in-docker:2": {}
  • "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}