1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #18809 from thaJeztah/EOL-ubuntu-15.04-vivid

Remove Ubuntu 15.04 (Vivid) from DEB build for 1.10 as it will be EOL
This commit is contained in:
Vincent Demeester 2015-12-21 22:02:18 +01:00
commit eff810aed6
4 changed files with 6 additions and 48 deletions

View file

@ -104,11 +104,11 @@ for version in "${versions[@]}"; do
echo >> "$version/Dockerfile" echo >> "$version/Dockerfile"
# debian jessie & ubuntu trusty/vivid do not have a libseccomp.a for compiling static dockerinit # debian jessie & ubuntu trusty do not have a libseccomp.a for compiling static dockerinit
# ONLY install libseccomp.a from source, this can be removed once dockerinit is removed # ONLY install libseccomp.a from source, this can be removed once dockerinit is removed
# TODO remove this manual seccomp compilation once dockerinit is gone or no longer needs to be statically compiled # TODO remove this manual seccomp compilation once dockerinit is gone or no longer needs to be statically compiled
case "$suite" in case "$suite" in
jessie|trusty|vivid) jessie|trusty)
awk '$1 == "ENV" && $2 == "SECCOMP_VERSION" { print; exit }' ../../../Dockerfile >> "$version/Dockerfile" awk '$1 == "ENV" && $2 == "SECCOMP_VERSION" { print; exit }' ../../../Dockerfile >> "$version/Dockerfile"
cat <<-'EOF' >> "$version/Dockerfile" cat <<-'EOF' >> "$version/Dockerfile"
RUN buildDeps=' \ RUN buildDeps=' \

View file

@ -1,38 +0,0 @@
#
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/generate.sh"!
#
FROM ubuntu:vivid
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/*
ENV SECCOMP_VERSION v2.2.3
RUN buildDeps=' \
automake \
libtool \
' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& export SECCOMP_PATH=$(mktemp -d) \
&& git clone -b "$SECCOMP_VERSION" --depth 1 https://github.com/seccomp/libseccomp.git "$SECCOMP_PATH" \
&& ( \
cd "$SECCOMP_PATH" \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
&& make \
&& install -c src/.libs/libseccomp.a /usr/lib/libseccomp.a \
&& chmod 644 /usr/lib/libseccomp.a \
&& ranlib /usr/lib/libseccomp.a \
&& ldconfig -n /usr/lib \
) \
&& rm -rf "$SECCOMP_PATH" \
&& apt-get purge -y --auto-remove $buildDeps
ENV GO_VERSION 1.5.2
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
ENV PATH $PATH:/usr/local/go/bin
ENV AUTO_GOPATH 1
ENV DOCKER_BUILDTAGS apparmor seccomp selinux

View file

@ -14,7 +14,6 @@ weight = -6
Docker is supported on these Ubuntu operating systems: Docker is supported on these Ubuntu operating systems:
- Ubuntu Wily 15.10 - Ubuntu Wily 15.10
- Ubuntu Vivid 15.04
- Ubuntu Trusty 14.04 (LTS) - Ubuntu Trusty 14.04 (LTS)
- Ubuntu Precise 12.04 (LTS) - Ubuntu Precise 12.04 (LTS)
@ -23,7 +22,8 @@ installation mechanisms. Using these packages ensures you get the latest release
of Docker. If you wish to install using Ubuntu-managed packages, consult your of Docker. If you wish to install using Ubuntu-managed packages, consult your
Ubuntu documentation. Ubuntu documentation.
>**Note**: Ubuntu Utopic 14.10 exists in Docker's `apt` repository but it is no longer officially supported. >**Note**: Ubuntu Utopic 14.10 and 15.04 exist in Docker's `apt` repository but
> are no longer officially supported.
## Prerequisites ## Prerequisites
@ -75,10 +75,6 @@ packages from the new repository:
deb https://apt.dockerproject.org/repo ubuntu-trusty main deb https://apt.dockerproject.org/repo ubuntu-trusty main
- On Ubuntu Vivid 15.04
deb https://apt.dockerproject.org/repo ubuntu-vivid main
- Ubuntu Wily 15.10 - Ubuntu Wily 15.10
deb https://apt.dockerproject.org/repo ubuntu-wily main deb https://apt.dockerproject.org/repo ubuntu-wily main

View file

@ -7,8 +7,8 @@ set -e
# deb http://apt.dockerproject.org/repo $distro-$release $version # deb http://apt.dockerproject.org/repo $distro-$release $version
# #
# For example: # For example:
# deb http://apt.dockerproject.org/repo ubuntu-trusy main # deb http://apt.dockerproject.org/repo ubuntu-trusty main
# deb http://apt.dockerproject.org/repo ubuntu-vivid testing # deb http://apt.dockerproject.org/repo ubuntu-trusty testing
# deb http://apt.dockerproject.org/repo debian-wheezy experimental # deb http://apt.dockerproject.org/repo debian-wheezy experimental
# deb http://apt.dockerproject.org/repo debian-jessie main # deb http://apt.dockerproject.org/repo debian-jessie main
# #