valetudo-misc/tools/htop/README.md

18 lines
600 B
Markdown

# `htop`
This folder contains a `Dockerfile` adapted from `vercel/pkg-fetch`, which produces
a statically linked (musl) `htop` binary for armv7
UPX has been removed, as the latest UPX release doesn't like to compress armv7
binaries (2022-05-09). The [latest CI build](https://github.com/upx/upx/actions)
does however work fine.
Because this builds a statically linked binary, it also runs on aarch64.
```
$ docker build --progress plain --output bin/ -t valetudo-htop-armv7 .
```
The resulting `htop` binary will be copied to `bin`, and because it is
statically-linked, it also runs on aarch64.