Bug #16582
Updated by Nico César over 4 years ago
How to reproduce the problem: <pre> git clone git@git.arvados.org:arvados-workbench2.git cd arvados-workbench2/ cd docker docker build . </pre> <pre> go: finding github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d go: finding github.com/AdRoll/goamz v0.0.0-20170825154802-2731d20f46f4 # git.arvados.org/arvados.git/sdk/go/arvados sdk/go/arvados/keep_service.go:155:14: undefined: http.NewRequestWithContext note: module requires Go 1.13The command '/bin/sh -c git clone https://git.arvados.org/arvados.git && cd arvados && go mod download && go run ./cmd/arvados-server install -type test && cd .. && rm -rf arvados && apt-get clean' returned a non-zero code: 2 </pre> The 2 options that I see: 1) We install golang 1.14 from backports https://packages.debian.org/buster-backports/golang 2) we manually do: <pre> cd /tmp wget --progress=dot:giga -O- https://storage.googleapis.com/golang/go`+goversion+`.linux-amd64.tar.gz | tar -C /var/lib/arvados -xzf - ln -sf /var/lib/arvados/go/bin/* /usr/local/bin/ </pre>