- build against Go 1.6
- add
-s
and-w
to-ldflags
so that release binaries are even smaller (~2.6M down to ~1.8M) - add simple integration test suite
4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
$ curl -o gosu -fsSL "https://github.com/tianon/gosu/releases/download/1.8/gosu-$(dpkg --print-architecture)"
$ chmod +x gosu
$ ./gosu
Usage: ./gosu user-spec command [args]
ie: ./gosu tianon bash
./gosu nobody:root bash -c 'whoami && id'
./gosu 1000:1 id
./gosu version: 1.8 (go1.6.1 on linux/amd64; gc)
Update: binaries had to be pulled; for details, see #19 (and 1.9)