Browse code

[project] bump go to go 1.7.4

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
(cherry picked from commit 20e243780ef3b6a7d1debca6279e06b003895121)
Signed-off-by: Victor Vieux <vieux@docker.com>

Christopher Jones authored on 2016/12/06 01:57:59
Showing 32 changed files
... ...
@@ -126,7 +126,7 @@ RUN set -x \
126 126
 # IMPORTANT: If the version of Go is updated, the Windows to Linux CI machines
127 127
 #            will need updating, to avoid errors. Ping #docker-maintainers on IRC
128 128
 #            with a heads-up.
129
-ENV GO_VERSION 1.7.3
129
+ENV GO_VERSION 1.7.4
130 130
 RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" \
131 131
 	| tar -xzC /usr/local
132 132
 
... ...
@@ -97,7 +97,7 @@ RUN set -x \
97 97
 # so we use gccgo as bootstrap to build Go from source code.
98 98
 # We don't use the official ARMv6 released binaries as a GOROOT_BOOTSTRAP, because
99 99
 # not all ARM64 platforms support 32-bit mode. 32-bit mode is optional for ARMv8.
100
-ENV GO_VERSION 1.7.3
100
+ENV GO_VERSION 1.7.4
101 101
 RUN mkdir /usr/src/go && curl -fsSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/src/go -xz --strip-components=1 \
102 102
 	&& cd /usr/src/go/src \
103 103
 	&& GOOS=linux GOARCH=arm64 GOROOT_BOOTSTRAP="$(go env GOROOT)" ./make.bash
... ...
@@ -72,7 +72,7 @@ RUN cd /usr/local/lvm2 \
72 72
 # See https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
73 73
 
74 74
 # Install Go
75
-ENV GO_VERSION 1.7.3
75
+ENV GO_VERSION 1.7.4
76 76
 RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" \
77 77
 	| tar -xzC /usr/local
78 78
 ENV PATH /go/bin:/usr/local/go/bin:$PATH
... ...
@@ -98,7 +98,7 @@ RUN set -x \
98 98
 # ppc64le doesn't have official go binaries, so use the version of go installed from the image
99 99
 # to build go from source.
100 100
 # NOTE: ppc64le has compatibility issues with older versions of go, so make sure the version >= 1.6
101
-ENV GO_VERSION 1.7.3
101
+ENV GO_VERSION 1.7.4
102 102
 ENV GO_DOWNLOAD_URL https://golang.org/dl/go${GO_VERSION}.src.tar.gz
103 103
 
104 104
 RUN set -x \
... ...
@@ -97,7 +97,7 @@ RUN cd /usr/local/lvm2 \
97 97
 	&& make install_device-mapper
98 98
 # See https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL
99 99
 
100
-ENV GO_VERSION 1.7.3
100
+ENV GO_VERSION 1.7.4
101 101
 RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.tar.gz" \
102 102
 	| tar -xzC /usr/local
103 103
 
... ...
@@ -55,7 +55,7 @@ RUN set -x \
55 55
 # IMPORTANT: If the version of Go is updated, the Windows to Linux CI machines
56 56
 #            will need updating, to avoid errors. Ping #docker-maintainers on IRC
57 57
 #            with a heads-up.
58
-ENV GO_VERSION 1.7.3
58
+ENV GO_VERSION 1.7.4
59 59
 RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" \
60 60
 	| tar -xzC /usr/local
61 61
 ENV PATH /go/bin:/usr/local/go/bin:$PATH
... ...
@@ -165,7 +165,7 @@ SHELL ["powershell", "-command"]
165 165
 # Environment variable notes:
166 166
 #  - GO_VERSION must be consistent with 'Dockerfile' used by Linux.
167 167
 #  - FROM_DOCKERFILE is used for detection of building within a container.
168
-ENV GO_VERSION=1.7.3 `
168
+ENV GO_VERSION=1.7.4 `
169 169
     GIT_VERSION=2.10.2 `
170 170
     GOPATH=C:\go `
171 171
     FROM_DOCKERFILE=1
... ...
@@ -11,7 +11,7 @@ RUN update-alternatives --install /usr/bin/go go /usr/lib/go-1.6/bin/go 100
11 11
 # Install Go
12 12
 # aarch64 doesn't have official go binaries, so use the version of go installed from
13 13
 # the image to build go from source.
14
-ENV GO_VERSION 1.7.3
14
+ENV GO_VERSION 1.7.4
15 15
 RUN mkdir /usr/src/go && curl -fsSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/src/go -xz --strip-components=1 \
16 16
 	&& cd /usr/src/go/src \
17 17
 	&& GOOS=linux GOARCH=arm64 GOROOT_BOOTSTRAP="$(go env GOROOT)" ./make.bash
... ...
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools bu
9 9
 # Install Go
10 10
 # aarch64 doesn't have official go binaries, so use the version of go installed from
11 11
 # the image to build go from source.
12
-ENV GO_VERSION 1.7.3
12
+ENV GO_VERSION 1.7.4
13 13
 RUN mkdir /usr/src/go && curl -fsSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/src/go -xz --strip-components=1 \
14 14
 	&& cd /usr/src/go/src \
15 15
 	&& GOOS=linux GOARCH=arm64 GOROOT_BOOTSTRAP="$(go env GOROOT)" ./make.bash
... ...
@@ -10,7 +10,7 @@ RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
10 10
 
11 11
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev  libsqlite3-dev pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
12 12
 
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
15 15
 ENV PATH $PATH:/usr/local/go/bin
16 16
 
... ...
@@ -10,7 +10,7 @@ RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
10 10
 
11 11
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
12 12
 
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
15 15
 ENV PATH $PATH:/usr/local/go/bin
16 16
 
... ...
@@ -12,7 +12,7 @@ RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list.d
12 12
 RUN apt-get update && apt-get install -y -t wheezy-backports btrfs-tools --no-install-recommends && rm -rf /var/lib/apt/lists/*
13 13
 RUN apt-get update && apt-get install -y apparmor bash-completion  build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev  libsqlite3-dev pkg-config vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/*
14 14
 
15
-ENV GO_VERSION 1.7.3
15
+ENV GO_VERSION 1.7.4
16 16
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
17 17
 ENV PATH $PATH:/usr/local/go/bin
18 18
 
... ...
@@ -6,7 +6,7 @@ FROM ubuntu:precise
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion  build-essential cmake curl ca-certificates debhelper dh-apparmor  git libapparmor-dev  libltdl-dev  libsqlite3-dev pkg-config vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -6,7 +6,7 @@ FROM ubuntu:trusty
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev  libsqlite3-dev pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -6,7 +6,7 @@ FROM ubuntu:xenial
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -6,7 +6,7 @@ FROM ubuntu:yakkety
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -10,7 +10,7 @@ RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
10 10
 
11 11
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev  libsqlite3-dev pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
12 12
 
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
15 15
 ENV PATH $PATH:/usr/local/go/bin
16 16
 
... ...
@@ -10,7 +10,7 @@ RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
10 10
 
11 11
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev  libsqlite3-dev pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
12 12
 
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 # GOARM is the ARM architecture version which is unrelated to the above Golang version
15 15
 ENV GOARM 6
16 16
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
... ...
@@ -6,7 +6,7 @@ FROM armhf/ubuntu:trusty
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev  libsqlite3-dev pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -6,7 +6,7 @@ FROM armhf/ubuntu:xenial
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -6,7 +6,7 @@ FROM armhf/ubuntu:yakkety
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools bu
10 10
 # ppc64le doesn't have official go binaries, so use a distro packaged version of go
11 11
 # to build go from source.
12 12
 # NOTE: ppc64le has compatibility issues with older versions of go, so make sure the version >= 1.6
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 ENV GO_DOWNLOAD_URL https://golang.org/dl/go${GO_VERSION}.src.tar.gz
15 15
 ENV GOROOT_BOOTSTRAP /usr/lib/go-1.6
16 16
 
... ...
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools bu
10 10
 # ppc64le doesn't have official go binaries, so use a distro packaged version of go
11 11
 # to build go from source.
12 12
 # NOTE: ppc64le has compatibility issues with older versions of go, so make sure the version >= 1.6
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 ENV GO_DOWNLOAD_URL https://golang.org/dl/go${GO_VERSION}.src.tar.gz
15 15
 ENV GOROOT_BOOTSTRAP /usr/lib/go-1.6
16 16
 
... ...
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools bu
10 10
 # ppc64le doesn't have official go binaries, so use a distro packaged version of go
11 11
 # to build go from source.
12 12
 # NOTE: ppc64le has compatibility issues with older versions of go, so make sure the version >= 1.6
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 ENV GO_DOWNLOAD_URL https://golang.org/dl/go${GO_VERSION}.src.tar.gz
15 15
 ENV GOROOT_BOOTSTRAP /usr/lib/go-1.6
16 16
 
... ...
@@ -6,7 +6,7 @@ FROM s390x/ubuntu:xenial
6 6
 
7 7
 RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config libsystemd-dev vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 
9
-ENV GO_VERSION 1.7.3
9
+ENV GO_VERSION 1.7.4
10 10
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.tar.gz" | tar xzC /usr/local
11 11
 ENV PATH $PATH:/usr/local/go/bin
12 12
 
... ...
@@ -8,7 +8,7 @@ RUN yum groupinstall -y "Development Tools"
8 8
 RUN yum -y swap -- remove systemd-container systemd-container-libs -- install systemd systemd-libs
9 9
 RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common
10 10
 
11
-ENV GO_VERSION 1.7.3
11
+ENV GO_VERSION 1.7.4
12 12
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
13 13
 ENV PATH $PATH:/usr/local/go/bin
14 14
 
... ...
@@ -8,7 +8,7 @@ RUN dnf -y upgrade
8 8
 RUN dnf install -y @development-tools fedora-packager
9 9
 RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common
10 10
 
11
-ENV GO_VERSION 1.7.3
11
+ENV GO_VERSION 1.7.4
12 12
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
13 13
 ENV PATH $PATH:/usr/local/go/bin
14 14
 
... ...
@@ -8,7 +8,7 @@ RUN dnf -y upgrade
8 8
 RUN dnf install -y @development-tools fedora-packager
9 9
 RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common
10 10
 
11
-ENV GO_VERSION 1.7.3
11
+ENV GO_VERSION 1.7.4
12 12
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
13 13
 ENV PATH $PATH:/usr/local/go/bin
14 14
 
... ...
@@ -7,7 +7,7 @@ FROM opensuse:13.2
7 7
 RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build
8 8
 RUN zypper --non-interactive install libbtrfs-devel device-mapper-devel glibc-static  libselinux-devel libtool-ltdl-devel pkg-config selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim systemd-rpm-macros
9 9
 
10
-ENV GO_VERSION 1.7.3
10
+ENV GO_VERSION 1.7.4
11 11
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
12 12
 ENV PATH $PATH:/usr/local/go/bin
13 13
 
... ...
@@ -10,7 +10,7 @@ RUN yum install -y kernel-uek-devel-4.1.12-32.el6uek
10 10
 RUN yum groupinstall -y "Development Tools"
11 11
 RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static  libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel  tar git cmake vim-common
12 12
 
13
-ENV GO_VERSION 1.7.3
13
+ENV GO_VERSION 1.7.4
14 14
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
15 15
 ENV PATH $PATH:/usr/local/go/bin
16 16
 
... ...
@@ -7,7 +7,7 @@ FROM oraclelinux:7
7 7
 RUN yum groupinstall -y "Development Tools"
8 8
 RUN yum install -y --enablerepo=ol7_optional_latest btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common
9 9
 
10
-ENV GO_VERSION 1.7.3
10
+ENV GO_VERSION 1.7.4
11 11
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
12 12
 ENV PATH $PATH:/usr/local/go/bin
13 13
 
... ...
@@ -7,7 +7,7 @@ FROM photon:1.0
7 7
 RUN tdnf install -y wget curl ca-certificates gzip make rpm-build sed gcc linux-api-headers glibc-devel binutils libseccomp libltdl-devel elfutils
8 8
 RUN tdnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkg-config selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common
9 9
 
10
-ENV GO_VERSION 1.7.3
10
+ENV GO_VERSION 1.7.4
11 11
 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
12 12
 ENV PATH $PATH:/usr/local/go/bin
13 13