A complete development container for Go for use with VSCode/GitHub Codespaces
- Go with basic Go development tools
- Uses my dotfiles via a devcontainer feature
- Use on
amd64
andaarch64
- Docker installed and running
- VS code installed
- VS code remote containers extension installed
- In the root of your project, create a directory named
.devcontainer
- Copy the
devcontainer.json
file from this repository to the newly created directory - Open the project in the devcontainer via the devcontainer CLI, the commands in VSCode, or in a GitHub Codespace
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": {}