Todd Neal <t...@tneal.org>: > 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.
Thanks. While you were doing that, I achieved a similar result by a different route. I got a hint from another project's config file thar Gitlab has a "golang-1.9" image; that works satisfactorily. For anyone else who might find themselves in a similar situation: I don't know Docker magic. The contributor who set up my CI files (on whose name be peace!) selected "image: buildpack-deps:jessie" which apparently means you get a Debian Jessie build environment. Thus, 1.3. Changing to the golang:1.9 image broke part of my Python CI setup. But that's OK as I don't expect those tests to be relevant much longer. Translation 19% complete. -- <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a> My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- 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.