1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib/builder/deb/s390x/ubuntu-xenial/Dockerfile

17 lines
647 B
Text
Raw Normal View History

s390x: Enable "make deb" for Ubuntu Xenial (16.04) With this patch and Docker PR 25883 ("Add a Dockerfile for generating manpages on s390x") "make deb" creates the following packages for s390x: # cd bundles/1.13.0-dev/build-deb/ # find . . ./ubuntu-xenial ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.dsc ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.changes ./ubuntu-xenial/Dockerfile.build ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.tar.gz ./docker.log ./test.log Package "docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb" could be successfully installed on a s390x Ubuntu system: # cat /etc/issue Ubuntu 16.04.1 LTS \n \l # dpkg -i docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ... Installing new version of config file /etc/init.d/docker ... Installing new version of config file /etc/init/docker.conf ... Processing triggers for systemd (229-4ubuntu7) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... # docker version Client: Version: 1.13.0-dev API version: 1.25 Go version: go1.7 Git commit: 2693af4-unsupported Built: Wed Aug 24 11:41:13 2016 OS/Arch: linux/s390x Server: ... The s390x "generate.sh" is a modified version of "ppc64le/generate.sh". We removed seccomp for s390x because we need at least libseccomp version 2.3.1 which is not provided by Ubuntu Xenial. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
2016-08-23 12:17:29 -04:00
#
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/s390x/generate.sh"!
#
FROM s390x/ubuntu:xenial
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/*
s390x: Enable "make deb" for Ubuntu Xenial (16.04) With this patch and Docker PR 25883 ("Add a Dockerfile for generating manpages on s390x") "make deb" creates the following packages for s390x: # cd bundles/1.13.0-dev/build-deb/ # find . . ./ubuntu-xenial ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.dsc ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.changes ./ubuntu-xenial/Dockerfile.build ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.tar.gz ./docker.log ./test.log Package "docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb" could be successfully installed on a s390x Ubuntu system: # cat /etc/issue Ubuntu 16.04.1 LTS \n \l # dpkg -i docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ... Installing new version of config file /etc/init.d/docker ... Installing new version of config file /etc/init/docker.conf ... Processing triggers for systemd (229-4ubuntu7) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... # docker version Client: Version: 1.13.0-dev API version: 1.25 Go version: go1.7 Git commit: 2693af4-unsupported Built: Wed Aug 24 11:41:13 2016 OS/Arch: linux/s390x Server: ... The s390x "generate.sh" is a modified version of "ppc64le/generate.sh". We removed seccomp for s390x because we need at least libseccomp version 2.3.1 which is not provided by Ubuntu Xenial. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
2016-08-23 12:17:29 -04:00
ENV GO_VERSION 1.8.5
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-s390x.tar.gz" | tar xzC /usr/local
s390x: Enable "make deb" for Ubuntu Xenial (16.04) With this patch and Docker PR 25883 ("Add a Dockerfile for generating manpages on s390x") "make deb" creates the following packages for s390x: # cd bundles/1.13.0-dev/build-deb/ # find . . ./ubuntu-xenial ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.dsc ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.changes ./ubuntu-xenial/Dockerfile.build ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.tar.gz ./docker.log ./test.log Package "docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb" could be successfully installed on a s390x Ubuntu system: # cat /etc/issue Ubuntu 16.04.1 LTS \n \l # dpkg -i docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ... Installing new version of config file /etc/init.d/docker ... Installing new version of config file /etc/init/docker.conf ... Processing triggers for systemd (229-4ubuntu7) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... # docker version Client: Version: 1.13.0-dev API version: 1.25 Go version: go1.7 Git commit: 2693af4-unsupported Built: Wed Aug 24 11:41:13 2016 OS/Arch: linux/s390x Server: ... The s390x "generate.sh" is a modified version of "ppc64le/generate.sh". We removed seccomp for s390x because we need at least libseccomp version 2.3.1 which is not provided by Ubuntu Xenial. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
2016-08-23 12:17:29 -04:00
ENV PATH $PATH:/usr/local/go/bin
ENV AUTO_GOPATH 1
ENV DOCKER_BUILDTAGS apparmor selinux
s390x: Enable "make deb" for Ubuntu Xenial (16.04) With this patch and Docker PR 25883 ("Add a Dockerfile for generating manpages on s390x") "make deb" creates the following packages for s390x: # cd bundles/1.13.0-dev/build-deb/ # find . . ./ubuntu-xenial ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.dsc ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.changes ./ubuntu-xenial/Dockerfile.build ./ubuntu-xenial/docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial.tar.gz ./docker.log ./test.log Package "docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb" could be successfully installed on a s390x Ubuntu system: # cat /etc/issue Ubuntu 16.04.1 LTS \n \l # dpkg -i docker-engine_1.13.0~dev~git20160823.161729.0.2693af4-0~xenial_s390x.deb ... Installing new version of config file /etc/init.d/docker ... Installing new version of config file /etc/init/docker.conf ... Processing triggers for systemd (229-4ubuntu7) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... # docker version Client: Version: 1.13.0-dev API version: 1.25 Go version: go1.7 Git commit: 2693af4-unsupported Built: Wed Aug 24 11:41:13 2016 OS/Arch: linux/s390x Server: ... The s390x "generate.sh" is a modified version of "ppc64le/generate.sh". We removed seccomp for s390x because we need at least libseccomp version 2.3.1 which is not provided by Ubuntu Xenial. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
2016-08-23 12:17:29 -04:00
ENV RUNC_BUILDTAGS apparmor selinux