switch to debian for build image to link against libc

This commit is contained in:
Dominic Breuker
2018-04-05 09:01:27 +02:00
parent 925998b26e
commit 5574696564
2 changed files with 11 additions and 6 deletions

View File

@@ -18,10 +18,15 @@ Inotify watchers placed on selected parts of the file system trigger these scans
## Getting started ## Getting started
Get the tool onto the Linux machine you want to inspect. Get the tool onto the Linux machine you want to inspect.
You must choose between the 32 and 64 bit versions. First get the binaries.
The files are (for now) in the `/bin` folder of this repository.
- 32 bit version: [download](bin/pspy32) You can build them yourself by running `make build-build-image` to build a docker image used in `make build` to build four binaries:
- 64 bit version: [download](bin/pspy64) - 32 bit big, static version: `pspy32`
- 64 bit big, static version: `pspy64`
- 32 bit small version: `pspy32s`
- 64 bit small version: `pspy64s`
The statically compiled files should work on any Linux system but are quite huge (~4MB).
If size is an issue, try the smaller versions which depend on libc and are compressed with UPX (<1MB).
You can run `pspy --help` to learn about the flags and their meaning. You can run `pspy --help` to learn about the flags and their meaning.
The summary is as follows: The summary is as follows:

View File

@@ -1,3 +1,3 @@
FROM golang:1.10-alpine FROM golang:1.10-stretch
RUN apk add upx --no-cache RUN apt-get update && apt-get install -y upx && rm -rf /var/lib/apt/lists/*