-
-
Save r-vdp/b0e7bce35a0c263cb261bc3386be6754 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? import <nixpkgs> {} }: | |
with nixpkgs.pkgs; | |
let | |
nixos_encryption_manager = callPackage ./default.nix {}; | |
entry-point = writeScriptBin "entry-point" '' | |
#!${runtimeShell} | |
nixos_encryption_manager | |
''; | |
in dockerTools.buildImage { | |
name = "nixos_encryption_manager"; | |
contents = [ | |
bashInteractive # Provide the BASH shell | |
cacert # X.509 certificates of public CA's | |
coreutils # Basic utilities expected in GNU OS's | |
curl # CLI tool for transferring files via URLs | |
glibcLocales # Locale information for the GNU C Library | |
iana-etc # IANA protocol and port number assignments | |
iproute # Utilities for controlling TCP/IP networking | |
iputils # Useful utilities for Linux networking | |
libidn # Library for internationalized domain names | |
utillinux # System utilities for Linux | |
nixos_encryption_manager | |
entry-point | |
]; | |
config = { | |
EntryPoint = [ "${entry-point}/bin/entry-point" ]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment