Debian Codegraph @

testdata/ci-fedora.Dockerfile

raw
1 # vim:ft=Dockerfile
2 FROM fedora
3
4 # Install rsync (for running tests).
5 RUN dnf -y update && dnf -y install rsync openssh-clients go && dnf clean all
6
7 # Enable toolchain management (and the module proxy, which is a requirement) so
8 # that Go 1.23 (from Fedora) will use Go 1.24 for gokrazy/rsync (or whichever
9 # version we specify as language/toolchain version in our go.mod).
10 RUN go env -w \
11 GOPROXY=https://proxy.golang.org,direct \
12 GOSUMDB=sum.golang.org \
13 GOTOOLCHAIN=auto