Commit 0a792687 authored by Luca Giambonini's avatar Luca Giambonini Committed by Luca Giambonini

docker 18.05.0 [skip-ci]

parent fac29ff7
Pipeline #470 skipped
# Arch Maintainer: Sébastien "Seblu" Luttringer
pkgname=docker
pkgver=17.12.0
pkgver=18.05.0
pkgrel=1
pkgdesc='Pack, ship and run any application as a lightweight container'
arch=('x86_64')
......@@ -11,17 +11,16 @@ depends=('glibc' 'bridge-utils' 'iproute2' 'device-mapper' 'sqlite' 'systemd'
'libseccomp' 'libtool')
makedepends=('git' 'go' 'btrfs-progs' 'cmake' 'systemd')
optdepends=('btrfs-progs: btrfs backend support'
'lxc: lxc backend support')
'lxc: lxc backend support'
'pigz: parallel gzip compressor support')
# don't strip binaries! A sha1 is used to check binary consistency.
options=('!strip' '!buildflags')
# Use exact commit version from Dockerfile for runc and containerd until 1.0.0
# https://github.com/docker/containerd/issues/299#issuecomment-240745119
# see commit in hack/dockerfile/binaries-commits
# https://github.com/docker/docker-ce/blob/master/components/engine/hack/dockerfile/binaries-commits
_RUNC_COMMIT=b2567b37d7b75eb4cf325b77297b140ea686ce8f
_CONTAINERD_COMMIT=89623f28b87a6004d4b785663257362d1658a729
# Use exact commit version from Dockerfile, see them in:
# https://github.com/docker/docker-ce/blob/master/components/engine/hack/dockerfile/install/
_RUNC_COMMIT=4fc53a81fb7c994640722ac585fa9ca548971871
_CONTAINERD_COMMIT=773c489c9c1b21a6d78b5c538cd395416ec50f88
_TINI_COMMIT=949e6facb77383876aeff8a6944dde66b3089574
_LIBNETWORK_COMMIT=7b2b1feb1de4817d522cc372af149ff48d25028e
_LIBNETWORK_COMMIT=c15b372ef22125880d378167dde44f4b134e1a77
source=("git+https://github.com/docker/docker-ce.git#tag=v$pkgver-ce"
"git+https://github.com/opencontainers/runc.git#commit=$_RUNC_COMMIT"
"git+https://github.com/containerd/containerd.git#commit=$_CONTAINERD_COMMIT"
......@@ -56,18 +55,21 @@ _fake_gopath_popd() {
build() {
### check my mistakes on commit version
msg2 'Checking commit mismatch'
local _cfile _commit _pkgbuild _dockerfile
_cfile="$srcdir"/docker-ce/components/engine/hack/dockerfile/binaries-commits
. "$_cfile"
(
local _cfile
for _cfile in runc containerd tini proxy; do
. "$srcdir/docker-ce/components/engine/hack/dockerfile/install/$_cfile.installer"
done
local _commit _pkgbuild _dockerfile
for _commit in RUNC CONTAINERD LIBNETWORK TINI; do
_pkgbuild=_${_commit}_COMMIT
_dockerfile=${_commit}_COMMIT
if [[ ${!_pkgbuild} != ${!_dockerfile} ]]; then
error "Invalid $_commit commit"
fgrep '_COMMIT=' "$_cfile"
error "Invalid $_commit commit, should be ${!_dockerfile}"
return 1
fi
done
)
### globals
export GOPATH="$srcdir"
......@@ -112,7 +114,7 @@ build() {
### containerd
msg2 'Building containerd'
_fake_gopath_pushd containerd github.com/containerd/containerd
LDFLAGS= make
make
_fake_gopath_popd
### docker proxy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment