mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Michael Holzheu](/assets/img/avatar_default.png)
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>
16 lines
680 B
Docker
16 lines
680 B
Docker
#
|
|
# 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 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/*
|
|
|
|
ENV GO_VERSION 1.7.1
|
|
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-s390x.tar.gz" | tar xzC /usr/local
|
|
ENV PATH $PATH:/usr/local/go/bin
|
|
|
|
ENV AUTO_GOPATH 1
|
|
|
|
ENV DOCKER_BUILDTAGS apparmor pkcs11 selinux
|
|
ENV RUNC_BUILDTAGS apparmor selinux
|