Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn authored on 2017/06/30 17:29:56... | ... |
@@ -86,7 +86,7 @@ RUN apt-get update && apt-get install -y \ |
86 | 86 |
# will need updating, to avoid errors. Ping #docker-maintainers on IRC |
87 | 87 |
# with a heads-up. |
88 | 88 |
# IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored |
89 |
-ENV GO_VERSION 1.8.5 |
|
89 |
+ENV GO_VERSION 1.9.2 |
|
90 | 90 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" \ |
91 | 91 |
| tar -xzC /usr/local |
92 | 92 |
|
... | ... |
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y \ |
73 | 73 |
|
74 | 74 |
# Install Go |
75 | 75 |
# IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored |
76 |
-ENV GO_VERSION 1.8.5 |
|
76 |
+ENV GO_VERSION 1.9.2 |
|
77 | 77 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" \ |
78 | 78 |
| tar -xzC /usr/local |
79 | 79 |
|
... | ... |
@@ -63,7 +63,7 @@ RUN apt-get update && apt-get install -y \ |
63 | 63 |
|
64 | 64 |
# Install Go |
65 | 65 |
# IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored |
66 |
-ENV GO_VERSION 1.8.5 |
|
66 |
+ENV GO_VERSION 1.9.2 |
|
67 | 67 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" \ |
68 | 68 |
| tar -xzC /usr/local |
69 | 69 |
ENV PATH /go/bin:/usr/local/go/bin:$PATH |
... | ... |
@@ -64,7 +64,7 @@ RUN apt-get update && apt-get install -y \ |
64 | 64 |
# Install Go |
65 | 65 |
# NOTE: official ppc64le go binaries weren't available until go 1.6.4 and 1.7.4 |
66 | 66 |
# IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored |
67 |
-ENV GO_VERSION 1.8.5 |
|
67 |
+ENV GO_VERSION 1.9.2 |
|
68 | 68 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" \ |
69 | 69 |
| tar -xzC /usr/local |
70 | 70 |
|
... | ... |
@@ -58,7 +58,7 @@ RUN apt-get update && apt-get install -y \ |
58 | 58 |
--no-install-recommends |
59 | 59 |
|
60 | 60 |
# IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored |
61 |
-ENV GO_VERSION 1.8.5 |
|
61 |
+ENV GO_VERSION 1.9.2 |
|
62 | 62 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.tar.gz" \ |
63 | 63 |
| tar -xzC /usr/local |
64 | 64 |
|
... | ... |
@@ -40,7 +40,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ |
40 | 40 |
# will need updating, to avoid errors. Ping #docker-maintainers on IRC |
41 | 41 |
# with a heads-up. |
42 | 42 |
# IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored |
43 |
-ENV GO_VERSION 1.8.5 |
|
43 |
+ENV GO_VERSION 1.9.2 |
|
44 | 44 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" \ |
45 | 45 |
| tar -xzC /usr/local |
46 | 46 |
ENV PATH /go/bin:/usr/local/go/bin:$PATH |
... | ... |
@@ -161,7 +161,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref |
161 | 161 |
# Environment variable notes: |
162 | 162 |
# - GO_VERSION must be consistent with 'Dockerfile' used by Linux. |
163 | 163 |
# - FROM_DOCKERFILE is used for detection of building within a container. |
164 |
-ENV GO_VERSION=1.8.5 ` |
|
164 |
+ENV GO_VERSION=1.9.2 ` |
|
165 | 165 |
GIT_VERSION=2.11.1 ` |
166 | 166 |
GOPATH=C:\go ` |
167 | 167 |
FROM_DOCKERFILE=1 |
... | ... |
@@ -7,7 +7,7 @@ FROM aarch64/debian:jessie |
7 | 7 |
RUN echo deb http://ftp.debian.org/debian jessie-backports main > /etc/apt/sources.list.d/backports.list |
8 | 8 |
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 pkg-config vim-common libsystemd-journal-dev libseccomp-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
9 | 9 |
|
10 |
-ENV GO_VERSION 1.8.5 |
|
10 |
+ENV GO_VERSION 1.9.2 |
|
11 | 11 |
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" | tar xzC /usr/local |
12 | 12 |
ENV PATH $PATH:/usr/local/go/bin |
13 | 13 |
|
... | ... |
@@ -6,7 +6,7 @@ FROM aarch64/debian:stretch |
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 pkg-config vim-common libsystemd-dev libseccomp-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
10 | 10 |
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" | tar xzC /usr/local |
11 | 11 |
ENV PATH $PATH:/usr/local/go/bin |
12 | 12 |
|
... | ... |
@@ -6,7 +6,7 @@ FROM aarch64/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 pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
10 | 10 |
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" | tar xzC /usr/local |
11 | 11 |
ENV PATH $PATH:/usr/local/go/bin |
12 | 12 |
|
... | ... |
@@ -6,7 +6,7 @@ FROM aarch64/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 pkg-config vim-common libsystemd-dev libseccomp-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
10 | 10 |
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.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 pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
12 | 12 |
|
13 |
-ENV GO_VERSION 1.8.5 |
|
13 |
+ENV GO_VERSION 1.9.2 |
|
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 libseccomp-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
12 | 12 |
|
13 |
-ENV GO_VERSION 1.8.5 |
|
13 |
+ENV GO_VERSION 1.9.2 |
|
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 pkg-config vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/* |
14 | 14 |
|
15 |
-ENV GO_VERSION 1.8.5 |
|
15 |
+ENV GO_VERSION 1.9.2 |
|
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: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 pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 libseccomp-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 libseccomp-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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:zesty |
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 libseccomp-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
12 | 12 |
|
13 |
-ENV GO_VERSION 1.8.5 |
|
13 |
+ENV GO_VERSION 1.9.2 |
|
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 pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
12 | 12 |
|
13 |
-ENV GO_VERSION 1.8.5 |
|
13 |
+ENV GO_VERSION 1.9.2 |
|
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 pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 libseccomp-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 libseccomp-dev pkg-config vim-common libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 ppc64le/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 pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
10 | 10 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
11 | 11 |
ENV PATH $PATH:/usr/local/go/bin |
12 | 12 |
|
... | ... |
@@ -6,7 +6,7 @@ FROM ppc64le/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 pkg-config vim-common libseccomp-dev libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
10 | 10 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
11 | 11 |
ENV PATH $PATH:/usr/local/go/bin |
12 | 12 |
|
... | ... |
@@ -6,7 +6,7 @@ FROM ppc64le/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 pkg-config vim-common libseccomp-dev libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
10 | 10 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
11 | 11 |
ENV PATH $PATH:/usr/local/go/bin |
12 | 12 |
|
... | ... |
@@ -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 libseccomp-dev pkg-config libsystemd-dev vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -6,7 +6,7 @@ FROM s390x/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 libseccomp-dev pkg-config libsystemd-dev vim-common --no-install-recommends && rm -rf /var/lib/apt/lists/* |
8 | 8 |
|
9 |
-ENV GO_VERSION 1.8.5 |
|
9 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -5,9 +5,9 @@ |
5 | 5 |
FROM amazonlinux:latest |
6 | 6 |
|
7 | 7 |
RUN yum groupinstall -y "Development Tools" |
8 |
-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 tar git cmake vim-common |
|
8 |
+RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel tar git cmake vim-common |
|
9 | 9 |
|
10 |
-ENV GO_VERSION 1.8.5 |
|
10 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -6,9 +6,9 @@ FROM centos:7 |
6 | 6 |
|
7 | 7 |
RUN yum groupinstall -y "Development Tools" |
8 | 8 |
RUN yum -y swap -- remove systemd-container systemd-container-libs -- install systemd systemd-libs |
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 systemd-devel tar git cmake vim-common |
|
9 |
+RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common |
|
10 | 10 |
|
11 |
-ENV GO_VERSION 1.8.5 |
|
11 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -6,9 +6,9 @@ FROM fedora:24 |
6 | 6 |
|
7 | 7 |
RUN dnf -y upgrade |
8 | 8 |
RUN dnf install -y @development-tools fedora-packager |
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 systemd-devel tar git cmake vim-common |
|
9 |
+RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common |
|
10 | 10 |
|
11 |
-ENV GO_VERSION 1.8.5 |
|
11 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -6,9 +6,9 @@ FROM fedora:25 |
6 | 6 |
|
7 | 7 |
RUN dnf -y upgrade |
8 | 8 |
RUN dnf install -y @development-tools fedora-packager |
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 systemd-devel tar git cmake vim-common |
|
9 |
+RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common |
|
10 | 10 |
|
11 |
-ENV GO_VERSION 1.8.5 |
|
11 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -5,9 +5,9 @@ |
5 | 5 |
FROM opensuse:13.2 |
6 | 6 |
|
7 | 7 |
RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build |
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 systemd-devel tar git cmake vim systemd-rpm-macros |
|
8 |
+RUN zypper --non-interactive install libbtrfs-devel device-mapper-devel glibc-static libselinux-devel pkg-config selinux-policy selinux-policy-devel systemd-devel tar git cmake vim systemd-rpm-macros |
|
9 | 9 |
|
10 |
-ENV GO_VERSION 1.8.5 |
|
10 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -8,9 +8,9 @@ RUN yum install -y yum-utils && curl -o /etc/yum.repos.d/public-yum-ol6.repo htt |
8 | 8 |
RUN yum install -y kernel-uek-devel-4.1.12-32.el6uek |
9 | 9 |
|
10 | 10 |
RUN yum groupinstall -y "Development Tools" |
11 |
-RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel tar git cmake vim-common |
|
11 |
+RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libselinux-devel pkgconfig selinux-policy selinux-policy-devel tar git cmake vim-common |
|
12 | 12 |
|
13 |
-ENV GO_VERSION 1.8.5 |
|
13 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -5,9 +5,9 @@ |
5 | 5 |
FROM oraclelinux:7 |
6 | 6 |
|
7 | 7 |
RUN yum groupinstall -y "Development Tools" |
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 systemd-devel tar git cmake vim-common |
|
8 |
+RUN yum install -y --enablerepo=ol7_optional_latest btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common |
|
9 | 9 |
|
10 |
-ENV GO_VERSION 1.8.5 |
|
10 |
+ENV GO_VERSION 1.9.2 |
|
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 |
|
... | ... |
@@ -5,9 +5,9 @@ |
5 | 5 |
FROM photon:1.0 |
6 | 6 |
|
7 | 7 |
RUN tdnf install -y wget curl ca-certificates gzip make rpm-build sed gcc linux-api-headers glibc-devel binutils libseccomp elfutils |
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 systemd-devel tar git cmake vim-common |
|
8 |
+RUN tdnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkg-config selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common |
|
9 | 9 |
|
10 |
-ENV GO_VERSION 1.8.5 |
|
10 |
+ENV GO_VERSION 1.9.2 |
|
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,9 +7,9 @@ FROM multiarch/centos:7.2.1511-armhfp-clean |
7 | 7 |
RUN yum install -y yum-plugin-ovl |
8 | 8 |
RUN yum groupinstall --skip-broken -y "Development Tools" |
9 | 9 |
RUN yum -y swap -- remove systemd-container systemd-container-libs -- install systemd systemd-libs |
10 |
-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 |
+RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common |
|
11 | 11 |
|
12 |
-ENV GO_VERSION 1.8.5 |
|
12 |
+ENV GO_VERSION 1.9.2 |
|
13 | 13 |
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-armv6l.tar.gz" | tar xzC /usr/local |
14 | 14 |
ENV PATH $PATH:/usr/local/go/bin |
15 | 15 |
|
... | ... |
@@ -6,10 +6,10 @@ FROM ppc64le/centos:7 |
6 | 6 |
|
7 | 7 |
RUN yum groupinstall -y "Development Tools" |
8 | 8 |
RUN yum -y swap -- remove systemd-container systemd-container-libs -- install systemd systemd-libs |
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 |
|
9 |
+RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common |
|
10 | 10 |
|
11 |
-ENV GO_VERSION 1.8.5 |
|
12 |
-RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
|
11 |
+ENV GO_VERSION 1.9.2 |
|
12 |
+RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
|
13 | 13 |
ENV PATH $PATH:/usr/local/go/bin |
14 | 14 |
|
15 | 15 |
ENV AUTO_GOPATH 1 |
... | ... |
@@ -6,9 +6,9 @@ FROM ppc64le/fedora:24 |
6 | 6 |
|
7 | 7 |
RUN dnf -y upgrade |
8 | 8 |
RUN dnf install -y @development-tools fedora-packager |
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 systemd-devel tar git cmake |
|
9 |
+RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common |
|
10 | 10 |
|
11 |
-ENV GO_VERSION 1.8.5 |
|
11 |
+ENV GO_VERSION 1.9.2 |
|
12 | 12 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
13 | 13 |
ENV PATH $PATH:/usr/local/go/bin |
14 | 14 |
|
... | ... |
@@ -7,10 +7,10 @@ FROM ppc64le/opensuse:42.1 |
7 | 7 |
RUN zypper addrepo -n ppc64le-oss -f https://download.opensuse.org/ports/ppc/distribution/leap/42.1/repo/oss/ ppc64le-oss |
8 | 8 |
RUN zypper addrepo -n ppc64le-updates -f https://download.opensuse.org/ports/update/42.1/ ppc64le-updates |
9 | 9 |
RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build |
10 |
-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 |
|
10 |
+RUN zypper --non-interactive install libbtrfs-devel device-mapper-devel glibc-static libselinux-devel pkg-config selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim |
|
11 | 11 |
|
12 |
-ENV GO_VERSION 1.8.5 |
|
13 |
-RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
|
12 |
+ENV GO_VERSION 1.9.2 |
|
13 |
+RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local |
|
14 | 14 |
ENV PATH $PATH:/usr/local/go/bin |
15 | 15 |
|
16 | 16 |
ENV AUTO_GOPATH 1 |
... | ... |
@@ -6,9 +6,9 @@ FROM sinenomine/clefos-base-s390x |
6 | 6 |
|
7 | 7 |
|
8 | 8 |
RUN touch /var/lib/rpm/* && yum groupinstall -y "Development Tools" |
9 |
-RUN touch /var/lib/rpm/* && 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 |
|
9 |
+RUN touch /var/lib/rpm/* && yum install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common |
|
10 | 10 |
|
11 |
-ENV GO_VERSION 1.8.5 |
|
11 |
+ENV GO_VERSION 1.9.2 |
|
12 | 12 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.tar.gz" | tar xzC /usr/local |
13 | 13 |
ENV PATH $PATH:/usr/local/go/bin |
14 | 14 |
|
... | ... |
@@ -7,9 +7,9 @@ FROM opensuse/s390x:tumbleweed |
7 | 7 |
|
8 | 8 |
RUN zypper ar https://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/ tumbleweed |
9 | 9 |
RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build |
10 |
-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 |
|
10 |
+RUN zypper --non-interactive install libbtrfs-devel device-mapper-devel glibc-static libselinux-devel pkg-config selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim systemd-rpm-macros |
|
11 | 11 |
|
12 |
-ENV GO_VERSION 1.8.5 |
|
12 |
+ENV GO_VERSION 1.9.2 |
|
13 | 13 |
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.tar.gz" | tar xzC /usr/local |
14 | 14 |
ENV PATH $PATH:/usr/local/go/bin |
15 | 15 |
|
... | ... |
@@ -2,6 +2,7 @@ package main |
2 | 2 |
|
3 | 3 |
import ( |
4 | 4 |
"os" |
5 |
+ "runtime" |
|
5 | 6 |
"strings" |
6 | 7 |
|
7 | 8 |
"github.com/docker/docker/integration-cli/checker" |
... | ... |
@@ -35,7 +36,22 @@ func (s *DockerSuite) TestCpToErrSrcNotExists(c *check.C) { |
35 | 35 |
c.Assert(os.IsNotExist(srcStatErr), checker.True) |
36 | 36 |
|
37 | 37 |
err := runDockerCp(c, srcPath, dstPath, nil) |
38 |
- c.Assert(strings.ToLower(err.Error()), checker.Contains, strings.ToLower(srcStatErr.Error())) |
|
38 |
+ if runtime.GOOS == "windows" { |
|
39 |
+ // Go 1.9+ on Windows returns a different error for `os.Stat()`, see |
|
40 |
+ // https://github.com/golang/go/commit/6144c7270e5812d9de8fb97456ee4e5ae657fcbb#diff-f63e1a4b4377b2fe0b05011db3df9599 |
|
41 |
+ // |
|
42 |
+ // Go 1.8: CreateFile C:\not-exist: The system cannot find the file specified. |
|
43 |
+ // Go 1.9: GetFileAttributesEx C:\not-exist: The system cannot find the file specified. |
|
44 |
+ // |
|
45 |
+ // Due to the CLI using a different version than the daemon, comparing the |
|
46 |
+ // error message won't work, so just hard-code the common part here. |
|
47 |
+ // |
|
48 |
+ // TODO this should probably be a test in the CLI repository instead |
|
49 |
+ c.Assert(strings.ToLower(err.Error()), checker.Contains, "cannot find the file specified") |
|
50 |
+ c.Assert(strings.ToLower(err.Error()), checker.Contains, strings.ToLower(tmpDir)) |
|
51 |
+ } else { |
|
52 |
+ c.Assert(strings.ToLower(err.Error()), checker.Contains, strings.ToLower(srcStatErr.Error())) |
|
53 |
+ } |
|
39 | 54 |
} |
40 | 55 |
|
41 | 56 |
// Test for error when SRC ends in a trailing |