From b62b57caebfa33a4110150f521086156b59e98ea Mon Sep 17 00:00:00 2001 From: Thomas Orozco Date: Fri, 20 Nov 2015 22:30:00 +0100 Subject: [PATCH] There appears to be a Nix package now! https://github.com/NixOS/nixpkgs/pull/10945 --- README.md | 11 +++++++++-- tpl/README.md.in | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e547627..b306d5b 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ Using Tini you're currently using an Ubuntu or CentOS image as your base, you can use one of those as a drop-in replacement.* -*NOTE: There is a Tini package for Alpine Linux. See below for installation -instructions.* +*NOTE: There are Tini packages for Alpine Linux and NixOS. See below for +installation instructions.* Add Tini to your container, and make it executable. Then, just invoke Tini and pass your program and its arguments as arguments to Tini. @@ -64,6 +64,13 @@ available as a `testing` package): apk add --update --repository http://dl-1.alpinelinux.org/alpine/edge/testing/ tini +### NixOS ### + +Using Nix, you can use the following command to install Tini: + + nix-env --install tini + + Options ------- diff --git a/tpl/README.md.in b/tpl/README.md.in index f915eb9..54c5548 100644 --- a/tpl/README.md.in +++ b/tpl/README.md.in @@ -27,8 +27,8 @@ Using Tini you're currently using an Ubuntu or CentOS image as your base, you can use one of those as a drop-in replacement.* -*NOTE: There is a Tini package for Alpine Linux. See below for installation -instructions.* +*NOTE: There are Tini packages for Alpine Linux and NixOS. See below for +installation instructions.* Add Tini to your container, and make it executable. Then, just invoke Tini and pass your program and its arguments as arguments to Tini. @@ -64,6 +64,13 @@ available as a `testing` package): apk add --update --repository http://dl-1.alpinelinux.org/alpine/edge/testing/ tini +### NixOS ### + +Using Nix, you can use the following command to install Tini: + + nix-env --install tini + + Options -------