add docker-compose

This commit is contained in:
zimbatm 2019-02-06 20:51:50 +01:00
parent fccaa2a29c
commit 2575fc5aa5
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
3 changed files with 28 additions and 0 deletions

View file

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