Browse Source

stretch has mips golang 1.11 in backports

don't know if it'll work though
Grant Limberg 5 years ago
parent
commit
f08d20560b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dockerbuild/Dockerfile.debian-stretch

+ 2 - 0
dockerbuild/Dockerfile.debian-stretch

@@ -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 apt-get update && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd libssl-dev
 
 
 RUN if test "$TARGETPLATFORM" = "linux/mips64le"; then \
 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; \
     apt-get install -y golang; \
     else \
     else \
     curl -s -k $go_pkg_url -o go.tar.gz; \
     curl -s -k $go_pkg_url -o go.tar.gz; \