Merge pull request #202205 from jordanisaacs/undocker-init

This commit is contained in:
Sandro 2022-12-01 02:12:50 +01:00 committed by GitHub
commit d9c1b3311b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib
, buildGoModule
, fetchFromSourcehut
}:
buildGoModule rec {
pname = "undocker";
version = "1.0.3";
src = fetchFromSourcehut {
owner = "~motiejus";
repo = pname;
rev = "v${version}";
hash = "sha256-SmtM25sijcm5NF0ZrSqrRQDXiLMNp8WGAZX9yKvj1rQ=";
};
vendorHash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
meta = with lib; {
homepage = "https://git.sr.ht/~motiejus/undocker";
description = "A CLI tool to convert a Docker image to a flattened rootfs tarball";
license = licenses.mit;
maintainers = with maintainers; [ jordanisaacs ];
};
}

View File

@ -634,6 +634,8 @@ with pkgs;
docker-sync = callPackage ../tools/misc/docker-sync { };
undocker = callPackage ../tools/misc/undocker { };
dockle = callPackage ../development/tools/dockle { };
docui = callPackage ../tools/misc/docui { };