Skip to content

Commit

Permalink
containers: add cryptsetup container
Browse files Browse the repository at this point in the history
  • Loading branch information
3u13r committed Sep 13, 2024
1 parent b8e0c90 commit add78a6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/containers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,23 @@ let
};
};

cryptsetup = dockerTools.buildImage {
name = "cryptsetup";
tag = "v${pkgs.contrast.version}";
copyToRoot = with pkgs; [
busybox
cryptsetup
e2fsprogs # mkfs.ext4
mount
util-linux # blkid
openssl
];
config = {
Cmd = [ "bash" ];
Env = [ "PATH=/bin" ]; # This is only here for policy generation.
};
};

port-forwarder = dockerTools.buildImage {
name = "port-forwarder";
tag = "v${pkgs.contrast.version}";
Expand Down

0 comments on commit add78a6

Please sign in to comment.