stretch has mips golang 1.11 in backports

don't know if it'll work though
This commit is contained in:
Grant Limberg 2020-06-25 15:15:16 -07:00
parent c0385466e2
commit f08d20560b
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

View file

@ -7,6 +7,8 @@ ARG TARGETPLATFORM
RUN apt-get update && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd libssl-dev
RUN if test "$TARGETPLATFORM" = "linux/mips64le"; then \
cat "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/backports.list; \
apt-get update; \
apt-get install -y golang; \
else \
curl -s -k $go_pkg_url -o go.tar.gz; \