This commit is contained in:
zimbatm 2019-01-19 00:04:11 +01:00
commit b44f7f85f3
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
16 changed files with 302 additions and 0 deletions

20
curl/default.nix Normal file
View file

@ -0,0 +1,20 @@
{ dockerTools
, cacert
, curl
}:
dockerTools.buildImage {
inherit (curl) name;
contents = [
cacert
curl
];
config = {
Entrypoint = [ "/bin/curl" ];
Env = [
"PATH=/bin"
"SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt"
];
};
}