Commit Graph

27 Commits

Author SHA1 Message Date
Gangstead 6ad9813ed8 Make Alpine instructions Dockerfile commands (#77)
Make Alpine instructions Dockerfile commands
2017-03-03 20:20:29 +01:00
Thomas Orozco 8d569f0419 Update docs to mention 32-bit build 2017-01-28 15:29:33 +01:00
Thomas Orozco 39f7778e32 Add "Why Tini?" section in the README
Adds a summary of #8 and a link to that discussion.
2017-01-02 21:16:33 +01:00
Thomas Orozco 82e8cc0fd4 Add @geek to contributors 2016-12-06 20:56:03 +01:00
Thomas Orozco a60521a432 Add @crosbymichael to contributors 2016-11-04 13:31:19 +01:00
Thomas Orozco 7c9d3b39a9 .travis.yml does not need to be a template anymore 2016-11-02 21:28:20 +01:00
Thomas Orozco 480fed14ae Optionally disable arg parsing (-DNO_ARGS=ON) 2016-11-02 18:05:12 +01:00
Thomas Orozco 271c09796e Update README to mention ARM images 2016-10-30 15:55:56 +01:00
Thomas Orozco c8cc8274b8 ARM Cross Builds
- Upgrade to Trusty for the ARM 64 toolchain.
- Cross-compile to ARM.
- Label binaries and packages when releasing.
2016-10-30 15:55:56 +01:00
Jorge Marin df9dbc1055 Replace GPG key short id for full fingerprint (#48)
Prevent dead beef attack
2016-09-01 19:31:55 +02:00
Thomas Orozco be71d120e7 Embed license and add -l flag to show it
This adds 1k of weight to the resulting binary, which is reasonable
(it's less than 5% for the smaller non-static binary), but alleviates
legitimate user concern that the license requires being included when
Tini is redistributed.
2016-08-10 08:50:47 +02:00
Thomas Orozco a61a036c6e [ci skip] Update Alpine instructions 2016-06-03 19:34:45 +02:00
Danilo Bürger d5d6e0ee94 Moved alpine package to community repository 2016-02-05 21:59:40 +01:00
Thomas Orozco 551d271823 Document signed binaries 2016-01-26 21:56:43 -05:00
Thomas Orozco 44b5675f0e Sign `tini` and `tini-static` binaries
The GPG signing subkey and passphrase are respectively provided through
a Travis encrypted file and a Travis encrypted environment variable.

Signing is only done if there is a signing key present when the build is
complete (so as to not fail when e.g. building a PR that doesn't have
encrypted files available).
2016-01-26 21:56:43 -05:00
Thomas Orozco a4af09f931 Do a better job at acknowledging contributors
Thanks to @tianon, @dpw, @danilobuerger, @datakurre!
2015-11-20 22:31:08 +01:00
Thomas Orozco b62b57caeb There appears to be a Nix package now!
https://github.com/NixOS/nixpkgs/pull/10945
2015-11-20 22:30:00 +01:00
Thomas Orozco 2b5b0ecb6e Add tests for hardening in CI script
This ensures that _FORTIFY_SOURCE is actually used!
2015-11-05 11:19:36 +01:00
Thomas Orozco 158def8e93 Include install instructions for Alpine Linux
Fix: #18
2015-10-28 20:20:07 +01:00
David Wragg 109019f917 Support for killing the whole child process group
tini only kills the immediate child process.  This means that if you
do, for example,

    docker run krallin/ubuntu-tini sh -c 'sleep 10'

and ctrl-C it, nothing happens: SIGINT is sent to the 'sh' process,
but that shell won't react to it while it is waiting for the 'sleep'
to finish.

This change adds a -g option to put the child process of tini into a
new process group, and sends signals to that group, so that every
process in the group gets a signal.  This corresponds more closely to
what happens when you do ctrl-C etc. in a terminal: The signal is sent
to the foreground process group.

So if you try the example above with a container image that passes -g
to tini, the SIGINT will be received by the 'sleep', and the container
promptly exits.
2015-10-26 21:52:06 +01:00
Thomas Orozco bfa8e0bf03 Update README to mention child subreaping support 2015-09-06 15:38:57 +02:00
Thomas Orozco fa1f3602a6 Update README (subreaping) 2015-09-01 21:43:02 +02:00
Thomas Orozco 376d186b2e Set default verbosity level to 1
This means warnings always show warnings, which is the right thing to do
considering the 2 warnings we show are actually for important
information.
2015-09-01 21:17:10 +02:00
Thomas Orozco 1a863f8366 Run some functional tests in ci/run_build.sh
Using the child subreaper mechanism, we can actually run
tests inside the CI environment without depending on Docker.

While this does not replace the existing tests, it allows
at least some functional coverage within CI.
2015-07-05 14:25:21 +02:00
Tianon Gravi f2229f937e Bring back tini-static! 🎉
This allows the use of `tini` within even more minimal environments (such as images that are `FROM scratch` with a single application binary `COPY`'d in).
2015-06-26 21:43:53 +02:00
Thomas Orozco b7afb24a82 Add notes about autogenerated files 2015-05-04 21:05:21 +02:00
Thomas Orozco a1d6372ef6 Generate DEB and RPM packages 2015-05-04 20:59:17 +02:00