diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8ae20f5..459f05c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,39 +1,41 @@ { - "name": "zeiss/fiber-goth", - "build": { - "dockerfile": "Dockerfile", - // Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04 - // Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon. - "args": { - "VARIANT": "ubuntu-22.04" - } - }, - "runArgs": [ - "--add-host=host.docker.internal:host-gateway" - ], - "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", - "postCreateCommand": "bash scripts/postCreateCommand.sh", - "features": { - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, - "ghcr.io/devcontainers/features/go:1": {}, - }, - "forwardPorts": [ - 3000 - ], - "customizations": { - "vscode": { - "extensions": [ - "GitHub.copilot", - "GitHub.vscode-github-actions", - "golang.go", - "ms-vscode.makefile-tools" - ] - } - }, - "portsAttributes": { - "3000": { - "label": "Application", - "onAutoForward": "openPreview" - } + "name": "zeiss/fiber-goth", + "build": { + "dockerfile": "Dockerfile", + // Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04 + // Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon. + "args": { + "VARIANT": "ubuntu-22.04" + } + }, + "runArgs": [ + "--add-host=host.docker.internal:host-gateway" + ], + "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", + "postCreateCommand": "bash scripts/postCreateCommand.sh", + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, + "ghcr.io/devcontainers/features/go:1": { + "version": "1.22" + } + }, + "forwardPorts": [ + 3000 + ], + "customizations": { + "vscode": { + "extensions": [ + "GitHub.copilot", + "GitHub.vscode-github-actions", + "golang.go", + "ms-vscode.makefile-tools" + ] + } + }, + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" } } +} \ No newline at end of file diff --git a/go.mod b/go.mod index 4219e7a..4d5ca4e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/zeiss/fiber-goth -go 1.22 +go 1.22.1 + +toolchain go1.22.7 require ( github.com/gofiber/fiber/v2 v2.52.5 diff --git a/tools/go.mod b/tools/go.mod index 679e53f..2bd1c46 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,7 +1,8 @@ module tools -go 1.22 -toolchain go1.22.5 +go 1.22.1 + +toolchain go1.22.7 require ( github.com/deepmap/oapi-codegen/v2 v2.2.0