> On Sep 10, 2018, at 8:17 PM, Eric S. Raymond <e...@thyrsus.com> wrote: > > Todd Neal <t...@tneal.org>: >> >>> On Sep 10, 2018, at 5:53 PM, 'Borman, Paul' via golang-nuts >>> <golang-nuts@googlegroups.com> wrote: >>> >>> Have you checked your Go version? >> >> This is likely the cause, I just tested with go 1.4.3 and get a similar >> error. I tested and both the golang:1.10.4-alpine3.8 and >> golang:1.11-alpine3.8 base images work fine. > > Yeah, I can believe that. The Docker environment at Gitlab ciuld well > be running 1.9 or olver; I don't have a quick way to check.
I took a look at https://gitlab.com/esr/reposurgeon/ <https://gitlab.com/esr/reposurgeon/> and put this together: FROM buildpack-deps:jessie RUN apt-get update -qy && apt-get install -qy --no-install-recommends golang git RUN go version You’re running go1.3.3 which hasn’t been supported for a while. Add this to your Dockerfile: RUN curl https://dl.google.com/go/go1.11.linux-amd64.tar.gz | tar -C /opt -zx RUN ln -s /opt/go/bin/* /usr/bin and remove golang from the apt-get line in ci/prepare.sh and it should fix it. - Todd -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.