Browse code

Remove Ubuntu 15.04 (Vivid) from DEB build as it will be EOL

Ubuntu 15.04 (Vivid) will be EOL'd in January,
so we should remove it from our builds in the
Docker 1.10 release.

For information about the EOL data, see:
https://wiki.ubuntu.com/Releases

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2015/12/21 00:00:53
Showing 4 changed files
... ...
@@ -104,11 +104,11 @@ for version in "${versions[@]}"; do
104 104
 
105 105
 	echo >> "$version/Dockerfile"
106 106
 
107
-	# debian jessie & ubuntu trusty/vivid do not have a libseccomp.a for compiling static dockerinit
107
+	# debian jessie & ubuntu trusty do not have a libseccomp.a for compiling static dockerinit
108 108
 	# ONLY install libseccomp.a from source, this can be removed once dockerinit is removed
109 109
 	# TODO remove this manual seccomp compilation once dockerinit is gone or no longer needs to be statically compiled
110 110
 	case "$suite" in
111
-		jessie|trusty|vivid)
111
+		jessie|trusty)
112 112
 			awk '$1 == "ENV" && $2 == "SECCOMP_VERSION" { print; exit }' ../../../Dockerfile >> "$version/Dockerfile"
113 113
 			cat <<-'EOF' >> "$version/Dockerfile"
114 114
 			RUN buildDeps=' \
115 115
deleted file mode 100644
... ...
@@ -1,38 +0,0 @@
1
-#
2
-# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/generate.sh"!
3
-#
4
-
5
-FROM ubuntu:vivid
6
-
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 libseccomp-dev libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
8
-
9
-ENV SECCOMP_VERSION v2.2.3
10
-RUN buildDeps=' \
11
-automake \
12
-libtool \
13
-' \
14
-&& set -x \
15
-&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
16
-&& rm -rf /var/lib/apt/lists/* \
17
-&& export SECCOMP_PATH=$(mktemp -d) \
18
-&& git clone -b "$SECCOMP_VERSION" --depth 1 https://github.com/seccomp/libseccomp.git "$SECCOMP_PATH" \
19
-&& ( \
20
-cd "$SECCOMP_PATH" \
21
-&& ./autogen.sh \
22
-&& ./configure --prefix=/usr \
23
-&& make \
24
-&& install -c src/.libs/libseccomp.a /usr/lib/libseccomp.a \
25
-&& chmod 644 /usr/lib/libseccomp.a \
26
-&& ranlib /usr/lib/libseccomp.a \
27
-&& ldconfig -n /usr/lib \
28
-) \
29
-&& rm -rf "$SECCOMP_PATH" \
30
-&& apt-get purge -y --auto-remove $buildDeps
31
-
32
-ENV GO_VERSION 1.5.2
33
-RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
34
-ENV PATH $PATH:/usr/local/go/bin
35
-
36
-ENV AUTO_GOPATH 1
37
-
38
-ENV DOCKER_BUILDTAGS apparmor seccomp selinux
... ...
@@ -14,7 +14,6 @@ weight = -6
14 14
 Docker is supported on these Ubuntu operating systems:
15 15
 
16 16
 - Ubuntu Wily 15.10
17
-- Ubuntu Vivid 15.04
18 17
 - Ubuntu Trusty 14.04 (LTS)
19 18
 - Ubuntu Precise 12.04 (LTS)
20 19
 
... ...
@@ -23,7 +22,8 @@ installation mechanisms. Using these packages ensures you get the latest release
23 23
 of Docker. If you wish to install using Ubuntu-managed packages, consult your
24 24
 Ubuntu documentation.
25 25
 
26
->**Note**: Ubuntu Utopic 14.10 exists in Docker's `apt` repository but it is no longer officially supported.
26
+>**Note**: Ubuntu Utopic 14.10 and 15.04 exist in Docker's `apt` repository but
27
+> are no longer officially supported.
27 28
 
28 29
 ## Prerequisites
29 30
 
... ...
@@ -75,10 +75,6 @@ packages from the new repository:
75 75
 
76 76
             deb https://apt.dockerproject.org/repo ubuntu-trusty main
77 77
 
78
-    - On Ubuntu Vivid 15.04
79
-
80
-            deb https://apt.dockerproject.org/repo ubuntu-vivid main
81
-
82 78
     - Ubuntu Wily 15.10
83 79
 
84 80
             deb https://apt.dockerproject.org/repo ubuntu-wily main
... ...
@@ -7,8 +7,8 @@ set -e
7 7
 # 	deb http://apt.dockerproject.org/repo $distro-$release $version
8 8
 #
9 9
 # For example:
10
-#	deb http://apt.dockerproject.org/repo ubuntu-trusy main
11
-#	deb http://apt.dockerproject.org/repo ubuntu-vivid testing
10
+#	deb http://apt.dockerproject.org/repo ubuntu-trusty main
11
+#	deb http://apt.dockerproject.org/repo ubuntu-trusty testing
12 12
 #	deb http://apt.dockerproject.org/repo debian-wheezy experimental
13 13
 #	deb http://apt.dockerproject.org/repo debian-jessie main
14 14
 #