2024-06-05 15:53:02 +00:00
|
|
|
{ lib, callPackage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rec {
|
|
|
|
dockerGen = {
|
2023-02-02 18:25:31 +00:00
|
|
|
version
|
|
|
|
, cliRev, cliHash
|
|
|
|
, mobyRev, mobyHash
|
|
|
|
, runcRev, runcHash
|
|
|
|
, containerdRev, containerdHash
|
2023-10-09 19:29:22 +00:00
|
|
|
, tiniRev, tiniHash
|
|
|
|
, buildxSupport ? true, composeSupport ? true, sbomSupport ? false
|
2021-02-05 17:12:51 +00:00
|
|
|
# package dependencies
|
2022-03-30 09:31:56 +00:00
|
|
|
, stdenv, fetchFromGitHub, fetchpatch, buildGoPackage
|
2021-06-28 23:13:55 +00:00
|
|
|
, makeWrapper, installShellFiles, pkg-config, glibc
|
2024-04-21 15:54:59 +00:00
|
|
|
, go-md2man, go, containerd, runc, tini, libtool
|
2023-10-09 19:29:22 +00:00
|
|
|
, sqlite, iproute2, docker-buildx, docker-compose, docker-sbom
|
2022-12-02 08:20:57 +00:00
|
|
|
, iptables, e2fsprogs, xz, util-linux, xfsprogs, git
|
|
|
|
, procps, rootlesskit, slirp4netns, fuse-overlayfs, nixosTests
|
2021-10-17 02:12:59 +00:00
|
|
|
, clientOnly ? !stdenv.isLinux, symlinkJoin
|
2023-02-02 18:25:31 +00:00
|
|
|
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
|
2022-12-02 08:20:57 +00:00
|
|
|
, withBtrfs ? stdenv.isLinux, btrfs-progs
|
|
|
|
, withLvm ? stdenv.isLinux, lvm2
|
|
|
|
, withSeccomp ? stdenv.isLinux, libseccomp
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
let
|
|
|
|
docker-runc = runc.overrideAttrs (oldAttrs: {
|
2022-09-30 11:47:45 +00:00
|
|
|
pname = "docker-runc";
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit version;
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "opencontainers";
|
|
|
|
repo = "runc";
|
|
|
|
rev = runcRev;
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = runcHash;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# docker/runc already include these patches / are not applicable
|
|
|
|
patches = [];
|
|
|
|
});
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
docker-containerd = containerd.overrideAttrs (oldAttrs: {
|
2022-09-30 11:47:45 +00:00
|
|
|
pname = "docker-containerd";
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit version;
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-10-27 00:29:36 +00:00
|
|
|
owner = "containerd";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "containerd";
|
|
|
|
rev = containerdRev;
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = containerdHash;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
buildInputs = oldAttrs.buildInputs
|
2022-12-17 10:02:37 +00:00
|
|
|
++ lib.optionals withSeccomp [ libseccomp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
docker-tini = tini.overrideAttrs (oldAttrs: {
|
|
|
|
pname = "docker-init";
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit version;
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "krallin";
|
|
|
|
repo = "tini";
|
|
|
|
rev = tiniRev;
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = tiniHash;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Do not remove static from make files as we want a static binary
|
2021-06-28 23:13:55 +00:00
|
|
|
postPatch = "";
|
|
|
|
|
|
|
|
buildInputs = [ glibc glibc.static ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-DMINIMAL=ON";
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
moby-src = fetchFromGitHub {
|
|
|
|
owner = "moby";
|
|
|
|
repo = "moby";
|
|
|
|
rev = mobyRev;
|
|
|
|
hash = mobyHash;
|
|
|
|
};
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
moby = buildGoPackage (lib.optionalAttrs stdenv.isLinux rec {
|
2022-09-30 11:47:45 +00:00
|
|
|
pname = "moby";
|
2021-01-15 22:18:51 +00:00
|
|
|
inherit version;
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
src = moby-src;
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/docker/docker";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper pkg-config go-md2man go libtool installShellFiles ];
|
2022-12-02 08:20:57 +00:00
|
|
|
buildInputs = [ sqlite ]
|
|
|
|
++ lib.optional withLvm lvm2
|
|
|
|
++ lib.optional withBtrfs btrfs-progs
|
|
|
|
++ lib.optional withSystemd systemd
|
|
|
|
++ lib.optional withSeccomp libseccomp;
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
extraPath = lib.optionals stdenv.isLinux (lib.makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]);
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
extraUserPath = lib.optionals (stdenv.isLinux && !clientOnly) (lib.makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]);
|
2021-12-30 13:39:12 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
patches = lib.optionals (lib.versionOlder version "23") [
|
2022-03-30 09:31:56 +00:00
|
|
|
# This patch incorporates code from a PR fixing using buildkit with the ZFS graph driver.
|
|
|
|
# It could be removed when a version incorporating this patch is released.
|
|
|
|
(fetchpatch {
|
|
|
|
name = "buildkit-zfs.patch";
|
|
|
|
url = "https://github.com/moby/moby/pull/43136.patch";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-1WZfpVnnqFwLMYqaHLploOodls0gHF8OCp7MrM26iX8=";
|
2022-03-30 09:31:56 +00:00
|
|
|
})
|
2024-02-07 01:22:34 +00:00
|
|
|
] ++ lib.optionals (lib.versions.major version == "24") [
|
|
|
|
# docker_24 has LimitNOFILE set to "infinity", which causes a wide variety of issues in containers.
|
|
|
|
# Issues range from higher-than-usual ressource usage, to containers not starting at all.
|
|
|
|
# This patch (part of the release candidates for docker_25) simply removes this unit option
|
|
|
|
# making systemd use its default "1024:524288", which is sane. See commit message and/or the PR for
|
|
|
|
# more details: https://github.com/moby/moby/pull/45534
|
|
|
|
(fetchpatch {
|
|
|
|
name = "LimitNOFILE-systemd-default.patch";
|
|
|
|
url = "https://github.com/moby/moby/pull/45534/commits/c8930105bc9fc3c1a8a90886c23535cc6c41e130.patch";
|
|
|
|
hash = "sha256-nyGLxFrJaD0TrDqsAwOD6Iph0aHcFH9sABj1Fy74sec=";
|
|
|
|
})
|
2022-03-30 09:31:56 +00:00
|
|
|
];
|
|
|
|
|
2021-07-16 19:40:57 +00:00
|
|
|
postPatch = ''
|
2024-02-29 20:09:43 +00:00
|
|
|
patchShebangs hack/make.sh hack/make/ hack/with-go-mod.sh
|
2021-07-16 19:40:57 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
buildPhase = ''
|
|
|
|
export GOCACHE="$TMPDIR/go-cache"
|
|
|
|
# build engine
|
|
|
|
cd ./go/src/${goPackagePath}
|
|
|
|
export AUTO_GOPATH=1
|
2023-02-02 18:25:31 +00:00
|
|
|
export DOCKER_GITCOMMIT="${cliRev}"
|
2021-01-15 22:18:51 +00:00
|
|
|
export VERSION="${version}"
|
|
|
|
./hack/make.sh dynbinary
|
|
|
|
cd -
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
cd ./go/src/${goPackagePath}
|
|
|
|
install -Dm755 ./bundles/dynbinary-daemon/dockerd $out/libexec/docker/dockerd
|
2024-04-21 15:54:59 +00:00
|
|
|
install -Dm755 ./bundles/dynbinary-daemon/docker-proxy $out/libexec/docker/docker-proxy
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
makeWrapper $out/libexec/docker/dockerd $out/bin/dockerd \
|
|
|
|
--prefix PATH : "$out/libexec/docker:$extraPath"
|
|
|
|
|
|
|
|
ln -s ${docker-containerd}/bin/containerd $out/libexec/docker/containerd
|
|
|
|
ln -s ${docker-containerd}/bin/containerd-shim $out/libexec/docker/containerd-shim
|
|
|
|
ln -s ${docker-runc}/bin/runc $out/libexec/docker/runc
|
|
|
|
ln -s ${docker-tini}/bin/tini-static $out/libexec/docker/docker-init
|
|
|
|
|
|
|
|
# systemd
|
|
|
|
install -Dm644 ./contrib/init/systemd/docker.service $out/etc/systemd/system/docker.service
|
2021-04-26 19:14:03 +00:00
|
|
|
substituteInPlace $out/etc/systemd/system/docker.service --replace /usr/bin/dockerd $out/bin/dockerd
|
|
|
|
install -Dm644 ./contrib/init/systemd/docker.socket $out/etc/systemd/system/docker.socket
|
2021-12-30 13:39:12 +00:00
|
|
|
|
|
|
|
# rootless Docker
|
|
|
|
install -Dm755 ./contrib/dockerd-rootless.sh $out/libexec/docker/dockerd-rootless.sh
|
|
|
|
makeWrapper $out/libexec/docker/dockerd-rootless.sh $out/bin/dockerd-rootless \
|
|
|
|
--prefix PATH : "$out/libexec/docker:$extraPath:$extraUserPath"
|
2021-01-15 22:18:51 +00:00
|
|
|
'';
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
DOCKER_BUILDTAGS = lib.optional withSystemd "journald"
|
2022-12-17 10:02:37 +00:00
|
|
|
++ lib.optional (!withBtrfs) "exclude_graphdriver_btrfs"
|
|
|
|
++ lib.optional (!withLvm) "exclude_graphdriver_devicemapper"
|
2022-12-02 08:20:57 +00:00
|
|
|
++ lib.optional withSeccomp "seccomp";
|
2021-01-15 22:18:51 +00:00
|
|
|
});
|
2021-10-17 02:12:59 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
plugins = lib.optional buildxSupport docker-buildx
|
2023-10-09 19:29:22 +00:00
|
|
|
++ lib.optional composeSupport docker-compose
|
|
|
|
++ lib.optional sbomSupport docker-sbom;
|
2021-10-17 02:12:59 +00:00
|
|
|
pluginsRef = symlinkJoin { name = "docker-plugins"; paths = plugins; };
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
2022-12-02 08:20:57 +00:00
|
|
|
buildGoPackage (lib.optionalAttrs (!clientOnly) {
|
|
|
|
# allow overrides of docker components
|
|
|
|
# TODO: move packages out of the let...in into top-level to allow proper overrides
|
2024-04-21 15:54:59 +00:00
|
|
|
inherit docker-runc docker-containerd docker-tini moby;
|
2022-12-02 08:20:57 +00:00
|
|
|
} // rec {
|
2021-05-29 03:34:57 +00:00
|
|
|
pname = "docker";
|
2022-09-30 11:47:45 +00:00
|
|
|
inherit version;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "docker";
|
2021-01-15 22:18:51 +00:00
|
|
|
repo = "cli";
|
2023-02-02 18:25:31 +00:00
|
|
|
rev = cliRev;
|
|
|
|
hash = cliHash;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
goPackagePath = "github.com/docker/cli";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
makeWrapper pkg-config go-md2man go libtool installShellFiles
|
|
|
|
];
|
2023-08-04 22:07:22 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
buildInputs = plugins ++ lib.optionals (lib.versionAtLeast version "23" && stdenv.isLinux) [
|
2023-08-04 22:07:22 +00:00
|
|
|
glibc
|
|
|
|
glibc.static
|
|
|
|
];
|
|
|
|
|
2021-07-16 19:40:57 +00:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs man scripts/build/
|
|
|
|
substituteInPlace ./scripts/build/.variables --replace "set -eu" ""
|
2022-12-02 08:20:57 +00:00
|
|
|
'' + lib.optionalString (plugins != []) ''
|
2021-07-16 19:40:57 +00:00
|
|
|
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \
|
2021-10-17 02:12:59 +00:00
|
|
|
"${pluginsRef}/libexec/docker/cli-plugins"
|
2021-07-16 19:40:57 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# Keep eyes on BUILDTIME format - https://github.com/docker/cli/blob/${version}/scripts/build/.variables
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPhase = ''
|
|
|
|
export GOCACHE="$TMPDIR/go-cache"
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
cd ./go/src/${goPackagePath}
|
2020-04-24 23:36:52 +00:00
|
|
|
# Mimic AUTO_GOPATH
|
|
|
|
mkdir -p .gopath/src/github.com/docker/
|
|
|
|
ln -sf $PWD .gopath/src/github.com/docker/cli
|
|
|
|
export GOPATH="$PWD/.gopath:$GOPATH"
|
2023-02-02 18:25:31 +00:00
|
|
|
export GITCOMMIT="${cliRev}"
|
2020-04-24 23:36:52 +00:00
|
|
|
export VERSION="${version}"
|
2021-01-15 22:18:51 +00:00
|
|
|
export BUILDTIME="1970-01-01T00:00:00Z"
|
2020-04-24 23:36:52 +00:00
|
|
|
source ./scripts/build/.variables
|
|
|
|
export CGO_ENABLED=1
|
2022-05-18 14:49:53 +00:00
|
|
|
go build -tags pkcs11 --ldflags "$GO_LDFLAGS" github.com/docker/cli/cmd/docker
|
2020-04-24 23:36:52 +00:00
|
|
|
cd -
|
|
|
|
'';
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
outputs = ["out"] ++ lib.optional (lib.versionOlder version "23") "man";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
cd ./go/src/${goPackagePath}
|
2021-01-15 22:18:51 +00:00
|
|
|
install -Dm755 ./docker $out/libexec/docker/docker
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
|
|
|
--prefix PATH : "$out/libexec/docker:$extraPath"
|
2022-12-02 08:20:57 +00:00
|
|
|
'' + lib.optionalString (!clientOnly) ''
|
2021-01-15 22:18:51 +00:00
|
|
|
# symlink docker daemon to docker cli derivation
|
|
|
|
ln -s ${moby}/bin/dockerd $out/bin/dockerd
|
2021-12-30 13:39:12 +00:00
|
|
|
ln -s ${moby}/bin/dockerd-rootless $out/bin/dockerd-rootless
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
# systemd
|
|
|
|
mkdir -p $out/etc/systemd/system
|
|
|
|
ln -s ${moby}/etc/systemd/system/docker.service $out/etc/systemd/system/docker.service
|
|
|
|
ln -s ${moby}/etc/systemd/system/docker.socket $out/etc/systemd/system/docker.socket
|
2020-04-24 23:36:52 +00:00
|
|
|
'' + ''
|
|
|
|
# completion (cli)
|
2021-01-15 22:18:51 +00:00
|
|
|
installShellCompletion --bash ./contrib/completion/bash/docker
|
|
|
|
installShellCompletion --fish ./contrib/completion/fish/docker.fish
|
|
|
|
installShellCompletion --zsh ./contrib/completion/zsh/_docker
|
2023-08-04 22:07:22 +00:00
|
|
|
'' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform && lib.versionOlder version "23") ''
|
2020-04-24 23:36:52 +00:00
|
|
|
# Generate man pages from cobra commands
|
|
|
|
echo "Generate man pages from cobra"
|
|
|
|
mkdir -p ./man/man1
|
|
|
|
go build -o ./gen-manpages github.com/docker/cli/man
|
|
|
|
./gen-manpages --root . --target ./man/man1
|
2023-08-04 22:07:22 +00:00
|
|
|
'' + lib.optionalString (lib.versionOlder version "23") ''
|
2020-04-24 23:36:52 +00:00
|
|
|
# Generate legacy pages from markdown
|
|
|
|
echo "Generate legacy manpages"
|
|
|
|
./man/md2man-all.sh -q
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
installManPage man/*/*.[1-9]
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
passthru = {
|
|
|
|
# Exposed for tarsum build on non-linux systems (build-support/docker/default.nix)
|
|
|
|
inherit moby-src;
|
|
|
|
tests = lib.optionals (!clientOnly) { inherit (nixosTests) docker; };
|
|
|
|
};
|
2020-11-24 20:58:05 +00:00
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.docker.com/";
|
|
|
|
description = "An open source project to pack, ship and run any application as a lightweight container";
|
2023-04-12 12:48:02 +00:00
|
|
|
longDescription = ''
|
|
|
|
Docker is a platform designed to help developers build, share, and run modern applications.
|
|
|
|
|
|
|
|
To enable the docker daemon on NixOS, set the `virtualisation.docker.enable` option to `true`.
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [ offline vdemeester periklis teutat3s ];
|
2023-08-10 07:59:29 +00:00
|
|
|
mainProgram = "docker";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
# Get revisions from
|
2021-01-15 22:18:51 +00:00
|
|
|
# https://github.com/moby/moby/tree/${version}/hack/dockerfile/install/*
|
2023-08-04 22:07:22 +00:00
|
|
|
docker_24 = callPackage dockerGen rec {
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "24.0.9";
|
2023-02-02 18:25:31 +00:00
|
|
|
cliRev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
cliHash = "sha256-nXIZtE0X1OoQT908IGuRhVHb0tiLbqQLP0Md3YWt0/Q=";
|
2023-02-02 18:25:31 +00:00
|
|
|
mobyRev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
mobyHash = "sha256-KRS99heyMAPBnjjr7If8TOlJf6v6866S7J3YGkOhFiA=";
|
|
|
|
runcRev = "v1.1.12";
|
|
|
|
runcHash = "sha256-N77CU5XiGYIdwQNPFyluXjseTeaYuNJ//OsEUS0g/v0=";
|
|
|
|
containerdRev = "v1.7.13";
|
|
|
|
containerdHash = "sha256-y3CYDZbA2QjIn1vyq/p1F1pAVxQHi/0a6hGWZCRWzyk=";
|
2022-03-30 09:31:56 +00:00
|
|
|
tiniRev = "v0.19.0";
|
2023-02-02 18:25:31 +00:00
|
|
|
tiniHash = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
docker_25 = callPackage dockerGen rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "25.0.5";
|
2024-02-29 20:09:43 +00:00
|
|
|
cliRev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
cliHash = "sha256-CACMi3bXUN6oGc2f/Z+lNQqMgQ4llRWPRKgijdpiPGg=";
|
|
|
|
mobyRev = "v${version}";
|
|
|
|
mobyHash = "sha256-4QGz22fXxyAD77pyUWb2lF3VKqxmPIrGqcJGoyrEHew=";
|
|
|
|
runcRev = "v1.1.12";
|
|
|
|
runcHash = "sha256-N77CU5XiGYIdwQNPFyluXjseTeaYuNJ//OsEUS0g/v0=";
|
|
|
|
containerdRev = "v1.7.13";
|
|
|
|
containerdHash = "sha256-y3CYDZbA2QjIn1vyq/p1F1pAVxQHi/0a6hGWZCRWzyk=";
|
|
|
|
tiniRev = "v0.19.0";
|
|
|
|
tiniHash = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
docker_26 = callPackage dockerGen rec {
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "26.1.3";
|
2024-04-21 15:54:59 +00:00
|
|
|
cliRev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
cliHash = "sha256-xE+g9Gtza4oAIlGUzDmjrqJa42bEkpbKbL2fsFlYzpY=";
|
2024-02-29 20:09:43 +00:00
|
|
|
mobyRev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
mobyHash = "sha256-s4hOvYV2+wDNKs4iFw6OflK+nemvqNhmfFURzhWaUzY=";
|
2024-02-29 20:09:43 +00:00
|
|
|
runcRev = "v1.1.12";
|
|
|
|
runcHash = "sha256-N77CU5XiGYIdwQNPFyluXjseTeaYuNJ//OsEUS0g/v0=";
|
2024-06-05 15:53:02 +00:00
|
|
|
containerdRev = "v1.7.15";
|
|
|
|
containerdHash = "sha256-qLrPLGxsUmgEscrhyl+1rJ0k7c9ibKnpMpsJPD4xDZU=";
|
2024-02-29 20:09:43 +00:00
|
|
|
tiniRev = "v0.19.0";
|
|
|
|
tiniHash = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI=";
|
|
|
|
};
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|