following the announcement;
https://groups.google.com/forum/m/#!topic/golang-announce/7JTsd70ZAT0
> [security] Go 1.6.3 and Go 1.7rc2 pre-announcement
>
> Hello gophers,
> We plan to issue Go 1.6.3 and Go 1.7rc2 on Monday July 18 at approximately 2am UTC.
> These are minor release to fix a security issue.
>
> Following our policy at https://golang.org/security, this is the pre-announcement of those releases.
>
> Because we are so late in the release cycle for Go 1.7, we will not issue a minor release of Go 1.5.
> Additionally, we plan to issue Go 1.7rc3 later next week, which will include any changes between 1.7rc1 and tip.
>
> Cheers,
> Chris on behalf of the Go team
**Note:**
the man/Dockerfile is not yet updated, because
the official image for Go 1.6.2 has not yet
been updated.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 589bafddf391cbf6aff8b22044266dc819cdcaeb)
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -120,7 +120,7 @@ RUN set -x \ |
| 120 | 120 |
# IMPORTANT: If the version of Go is updated, the Windows to Linux CI machines |
| 121 | 121 |
# will need updating, to avoid errors. Ping #docker-maintainers on IRC |
| 122 | 122 |
# with a heads-up. |
| 123 |
-ENV GO_VERSION 1.6.2 |
|
| 123 |
+ENV GO_VERSION 1.6.3 |
|
| 124 | 124 |
RUN curl -fsSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" \
|
| 125 | 125 |
| tar -xzC /usr/local |
| 126 | 126 |
|
| ... | ... |
@@ -97,7 +97,7 @@ RUN set -x \ |
| 97 | 97 |
# We don't have official binary tarballs for ARM64, eigher for Go or bootstrap, |
| 98 | 98 |
# so we use the official armv6 released binaries as a GOROOT_BOOTSTRAP, and |
| 99 | 99 |
# build Go from source code. |
| 100 |
-ENV GO_VERSION 1.6.2 |
|
| 100 |
+ENV GO_VERSION 1.6.3 |
|
| 101 | 101 |
RUN mkdir /usr/src/go && curl -fsSL https://storage.googleapis.com/golang/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 |
| ... | ... |
@@ -65,7 +65,7 @@ RUN cd /usr/local/lvm2 \ |
| 65 | 65 |
# see https://git.fedorahosted.org/cgit/lvm2.git/tree/INSTALL |
| 66 | 66 |
|
| 67 | 67 |
# Install Go |
| 68 |
-ENV GO_VERSION 1.6.2 |
|
| 68 |
+ENV GO_VERSION 1.6.3 |
|
| 69 | 69 |
RUN curl -fsSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-armv6l.tar.gz" \
|
| 70 | 70 |
| tar -xzC /usr/local |
| 71 | 71 |
ENV PATH /go/bin:/usr/local/go/bin:$PATH |
| ... | ... |
@@ -89,7 +89,7 @@ RUN set -x \ |
| 89 | 89 |
|
| 90 | 90 |
## BUILD GOLANG 1.6 |
| 91 | 91 |
# NOTE: ppc64le has compatibility issues with older versions of go, so make sure the version >= 1.6 |
| 92 |
-ENV GO_VERSION 1.6.2 |
|
| 92 |
+ENV GO_VERSION 1.6.3 |
|
| 93 | 93 |
ENV GO_DOWNLOAD_URL https://golang.org/dl/go${GO_VERSION}.src.tar.gz
|
| 94 | 94 |
ENV GO_DOWNLOAD_SHA256 787b0b750d037016a30c6ed05a8a70a91b2e9db4bd9b1a2453aa502a63f1bccc |
| 95 | 95 |
ENV GOROOT_BOOTSTRAP /usr/local |
| ... | ... |
@@ -49,7 +49,7 @@ RUN set -x \ |
| 49 | 49 |
# IMPORTANT: If the version of Go is updated, the Windows to Linux CI machines |
| 50 | 50 |
# will need updating, to avoid errors. Ping #docker-maintainers on IRC |
| 51 | 51 |
# with a heads-up. |
| 52 |
-ENV GO_VERSION 1.6.2 |
|
| 52 |
+ENV GO_VERSION 1.6.3 |
|
| 53 | 53 |
RUN curl -fsSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" \
|
| 54 | 54 |
| tar -xzC /usr/local |
| 55 | 55 |
ENV PATH /go/bin:/usr/local/go/bin:$PATH |
| ... | ... |
@@ -34,7 +34,7 @@ FROM windowsservercore |
| 34 | 34 |
# Environment variable notes: |
| 35 | 35 |
# - GO_VERSION must consistent with 'Dockerfile' used by Linux'. |
| 36 | 36 |
# - FROM_DOCKERFILE is used for detection of building within a container. |
| 37 |
-ENV GO_VERSION=1.6.2 \ |
|
| 37 |
+ENV GO_VERSION=1.6.3 \ |
|
| 38 | 38 |
GIT_LOCATION=https://github.com/git-for-windows/git/releases/download/v2.7.2.windows.1/Git-2.7.2-64-bit.exe \ |
| 39 | 39 |
GOPATH=C:/go;C:/go/src/github.com/docker/docker/vendor \ |
| 40 | 40 |
FROM_DOCKERFILE=1 |
| ... | ... |
@@ -10,7 +10,7 @@ RUN sed -i s/httpredir.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 curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev pkg-config libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
| 12 | 12 |
|
| 13 |
-ENV GO_VERSION 1.6.2 |
|
| 13 |
+ENV GO_VERSION 1.6.3 |
|
| 14 | 14 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 -i s/httpredir.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 curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
| 12 | 12 |
|
| 13 |
-ENV GO_VERSION 1.6.2 |
|
| 13 |
+ENV GO_VERSION 1.6.3 |
|
| 14 | 14 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 -i s/httpredir.debian.org/$APT_MIRROR/g /etc/apt/sources.list.d/backport |
| 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 curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev pkg-config --no-install-recommends && rm -rf /var/lib/apt/lists/* |
| 14 | 14 |
|
| 15 |
-ENV GO_VERSION 1.6.2 |
|
| 15 |
+ENV GO_VERSION 1.6.3 |
|
| 16 | 16 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 curl ca-certificates debhelper dh-apparmor git libapparmor-dev libltdl-dev libsqlite3-dev pkg-config --no-install-recommends && rm -rf /var/lib/apt/lists/* |
| 8 | 8 |
|
| 9 |
-ENV GO_VERSION 1.6.2 |
|
| 9 |
+ENV GO_VERSION 1.6.3 |
|
| 10 | 10 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev pkg-config libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
| 8 | 8 |
|
| 9 |
-ENV GO_VERSION 1.6.2 |
|
| 9 |
+ENV GO_VERSION 1.6.3 |
|
| 10 | 10 |
RUN curl -fSL "https://storage.googleapis.com/golang/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:wily |
| 6 | 6 |
|
| 7 | 7 |
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 libseccomp-dev libsqlite3-dev pkg-config libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
| 8 | 8 |
|
| 9 |
-ENV GO_VERSION 1.6.2 |
|
| 9 |
+ENV GO_VERSION 1.6.3 |
|
| 10 | 10 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
| 8 | 8 |
|
| 9 |
-ENV GO_VERSION 1.6.2 |
|
| 9 |
+ENV GO_VERSION 1.6.3 |
|
| 10 | 10 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 @@ RUN sed -i s/httpredir.debian.org/$APT_MIRROR/g /etc/apt/sources.list |
| 6 | 6 |
|
| 7 | 7 |
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/* |
| 8 | 8 |
|
| 9 |
-ENV GO_VERSION 1.6.2 |
|
| 9 |
+ENV GO_VERSION 1.6.3 |
|
| 10 | 10 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 @@ RUN sed -i s/httpredir.debian.org/$APT_MIRROR/g /etc/apt/sources.list |
| 6 | 6 |
|
| 7 | 7 |
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/* |
| 8 | 8 |
|
| 9 |
-ENV GO_VERSION 1.6.2 |
|
| 9 |
+ENV GO_VERSION 1.6.3 |
|
| 10 | 10 |
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
|
| 11 | 11 |
ENV PATH $PATH:/usr/local/go/bin |
| 12 | 12 |
|
| ... | ... |
@@ -2,7 +2,7 @@ FROM armhf/ubuntu:trusty |
| 2 | 2 |
|
| 3 | 3 |
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/* |
| 4 | 4 |
|
| 5 |
-ENV GO_VERSION 1.6.2 |
|
| 5 |
+ENV GO_VERSION 1.6.3 |
|
| 6 | 6 |
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local
|
| 7 | 7 |
ENV PATH $PATH:/usr/local/go/bin |
| 8 | 8 |
|
| ... | ... |
@@ -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 |
| 10 | 10 |
|
| 11 |
-ENV GO_VERSION 1.6.2 |
|
| 11 |
+ENV GO_VERSION 1.6.3 |
|
| 12 | 12 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 fedora:22 |
| 7 | 7 |
RUN dnf install -y @development-tools fedora-packager |
| 8 | 8 |
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 |
| 9 | 9 |
|
| 10 |
-ENV GO_VERSION 1.6.2 |
|
| 10 |
+ENV GO_VERSION 1.6.3 |
|
| 11 | 11 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 fedora:23 |
| 7 | 7 |
RUN dnf install -y @development-tools fedora-packager |
| 8 | 8 |
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 |
| 9 | 9 |
|
| 10 |
-ENV GO_VERSION 1.6.2 |
|
| 10 |
+ENV GO_VERSION 1.6.3 |
|
| 11 | 11 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 fedora:24 |
| 7 | 7 |
RUN dnf install -y @development-tools fedora-packager |
| 8 | 8 |
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 |
| 9 | 9 |
|
| 10 |
-ENV GO_VERSION 1.6.2 |
|
| 10 |
+ENV GO_VERSION 1.6.3 |
|
| 11 | 11 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 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 systemd-rpm-macros |
| 9 | 9 |
|
| 10 |
-ENV GO_VERSION 1.6.2 |
|
| 10 |
+ENV GO_VERSION 1.6.3 |
|
| 11 | 11 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 |
| 12 | 12 |
|
| 13 |
-ENV GO_VERSION 1.6.2 |
|
| 13 |
+ENV GO_VERSION 1.6.3 |
|
| 14 | 14 |
RUN curl -fSL "https://storage.googleapis.com/golang/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 |
| 9 | 9 |
|
| 10 |
-ENV GO_VERSION 1.6.2 |
|
| 10 |
+ENV GO_VERSION 1.6.3 |
|
| 11 | 11 |
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
|
| 12 | 12 |
ENV PATH $PATH:/usr/local/go/bin |
| 13 | 13 |
|
| ... | ... |
@@ -2284,7 +2284,7 @@ Show the docker version information |
| 2284 | 2284 |
"Version": "1.12.0", |
| 2285 | 2285 |
"Os": "linux", |
| 2286 | 2286 |
"KernelVersion": "3.19.0-23-generic", |
| 2287 |
- "GoVersion": "go1.6.2", |
|
| 2287 |
+ "GoVersion": "go1.6.3", |
|
| 2288 | 2288 |
"GitCommit": "deadbee", |
| 2289 | 2289 |
"Arch": "amd64", |
| 2290 | 2290 |
"ApiVersion": "1.24", |
| ... | ... |
@@ -118,7 +118,8 @@ if [ "$AUTO_GOPATH" ]; then |
| 118 | 118 |
if [ "$(go env GOOS)" = 'solaris' ]; then |
| 119 | 119 |
# sys/unix is installed outside the standard library on solaris |
| 120 | 120 |
# TODO need to allow for version change, need to get version from go |
| 121 |
- export GOPATH="${GOPATH}:/usr/lib/gocode/1.6.2"
|
|
| 121 |
+ export GO_VERSION=${GO_VERSION:-"1.6.3"}
|
|
| 122 |
+ export GOPATH="${GOPATH}:/usr/lib/gocode/${GO_VERSION}"
|
|
| 122 | 123 |
fi |
| 123 | 124 |
fi |
| 124 | 125 |
|