From f32ccb080ac382a386cbe33ed1d11048474206c5 Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Sat, 21 May 2016 17:42:31 +0200 Subject: [PATCH] Update golang 1.6.2 for ARM Signed-off-by: Antonio Murdaca --- Dockerfile.armhf | 2 +- contrib/builder/deb/armhf/debian-jessie/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 1821c26d4b..6dc893ee84 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -66,7 +66,7 @@ RUN cd /usr/local/lvm2 \ # Install Go ENV GO_VERSION 1.6.2 -RUN curl -fsSL "http://dave.cheney.net/paste/go${GO_VERSION}.linux-arm.tar.gz" \ +RUN curl -fsSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-armv6l.tar.gz" \ | tar -xzC /usr/local ENV PATH /go/bin:/usr/local/go/bin:$PATH ENV GOPATH /go:/go/src/github.com/docker/docker/vendor diff --git a/contrib/builder/deb/armhf/debian-jessie/Dockerfile b/contrib/builder/deb/armhf/debian-jessie/Dockerfile index 7636e890d3..cdaa1b2ee9 100644 --- a/contrib/builder/deb/armhf/debian-jessie/Dockerfile +++ b/contrib/builder/deb/armhf/debian-jessie/Dockerfile @@ -6,8 +6,8 @@ RUN sed -i s/httpredir.debian.org/$APT_MIRROR/g /etc/apt/sources.list RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* -ENV GO_VERSION 1.4.3 -RUN curl -fSL "https://github.com/hypriot/golang-armbuilds/releases/download/v${GO_VERSION}/go${GO_VERSION}.linux-armv7.tar.gz" | tar xzC /usr/local +ENV GO_VERSION 1.6.2 +RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local ENV PATH $PATH:/usr/local/go/bin ENV AUTO_GOPATH 1