Files
gluetun/.devcontainer/README.md
Quentin McGaw 85325e4a31 chore(dev): upgrade dev container to v0.21
See [release notes](https://github.com/qdm12/godevcontainer/releases/tag/v0.21.0)

Notably:
- Go upgraded from 1.23 to 1.25
- golangci-lint upgraded to v2.4.0
- Alpine upgraded from 3.20 to 3.22
- Disable package comment requirement by gopls' staticcheck
- Pull container image from ghcr.io
2025-08-16 20:10:14 +00:00

1.7 KiB

Development container

Development container that can be used with VSCode.

It works on Linux, Windows (WSL2) and OSX.

Requirements

Setup

  1. Create the following files and directory on your host if you don't have them:

    touch ~/.gitconfig ~/.zsh_history
    mkdir -p ~/.ssh
    
  2. For OSX hosts: ensure the project directory and your home directory ~ are accessible by Docker.

  3. Open the command palette in Visual Studio Code (CTRL+SHIFT+P).

  4. Select Dev-Containers: Open Folder in Container... and choose the project directory.

Customization

For any customization to take effect, you should "rebuild and reopen":

  1. Open the command palette in Visual Studio Code (CTRL+SHIFT+P)
  2. Select Dev-Containers: Rebuild Container

Changes you can make are notably: