docker: 1.8.1 -> 1.9.0

This commit is contained in:
Jaka Hudoklin 2015-11-16 15:55:38 +01:00
parent 88f5cfc126
commit c79e22edbf

View File

@ -5,28 +5,23 @@ btrfsProgs, iptables, bash, e2fsprogs, xz, utillinux}:
stdenv.mkDerivation rec {
name = "docker-${version}";
version = "1.8.1";
version = "1.9.0";
src = fetchFromGitHub {
owner = "docker";
repo = "docker";
rev = "v${version}";
sha256 = "0nwd5wsw9f50jh4s5c5sfd6hnyh3g2kmxcrid36y1phabh30yrcz";
sha256 = "1a1ss210i712fs9mp5hcljb8bdx93lss91sxj9zay0vrmdb84zn2";
};
buildInputs = [ makeWrapper go sqlite lxc iproute bridge-utils devicemapper btrfsProgs iptables e2fsprogs ];
dontStrip = true;
preConfigure = ''
mv vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/{jump_amd64.go,jump_linux.go}
sed -i 's/,amd64//' vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/jump_linux.go
'';
buildPhase = ''
patchShebangs .
export AUTO_GOPATH=1
export DOCKER_GITCOMMIT="786b29d4"
export DOCKER_GITCOMMIT="76d6bc9a"
./hack/make.sh dynbinary
'';