Update golang toolchain to resolve build error

- Error "/build/proton-bridge/go.mod:5: unknown directive: toolchain"
seems to be caused by outdated toolchain.
- Bumped toolchain to match what's in go.mod.
This commit is contained in:
Nicolay Doytchev 2025-01-12 00:30:25 -05:00
parent c7cef79482
commit 5fbec27794

View File

@ -1,5 +1,5 @@
# Use carlosedp/golang for riscv64 support
FROM carlosedp/golang:1.18 AS build
FROM golang:1.21 AS build
# Install dependencies
RUN apt-get update && apt-get install -y git build-essential libsecret-1-dev