diff options
author | Caleb Bassi <calebjbassi@gmail.com> | 2018-05-11 00:56:44 -0700 |
---|---|---|
committer | Caleb Bassi <calebjbassi@gmail.com> | 2018-05-11 01:09:29 -0700 |
commit | c02bf5d0ad0467a111e7912f48a3058c2899236a (patch) | |
tree | 6bd0240a531622672d0fc89c9faad3fd70a8440e | |
parent | 68277185e01b2d6c23c1afb548c7d31090ac3b00 (diff) |
Remove Docker
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | build/.goreleaser.yml | 3 | ||||
-rw-r--r-- | build/Dockerfile | 8 | ||||
-rw-r--r-- | build/build_steps.txt | 1 |
4 files changed, 5 insertions, 20 deletions
@@ -27,27 +27,22 @@ git clone --depth 1 https://github.com/cjbassi/gotop /tmp/gotop Then move `gotop` into your $PATH somewhere. + ### Arch Linux Install the `gotop-bin` package from the AUR. + ### Source ```sh go get github.com/cjbassi/gotop ``` -### Docker - -``` -docker run -it --rm cjbassi/gotop -``` - -Note: Process list doesn't work when running with Docker. - ## Usage + ### Keybinds * Quit: `q` or `<C-c>` @@ -65,6 +60,7 @@ Note: Process list doesn't work when running with Docker. * `h` and `l`: zoom in and out of CPU and Mem graphs * `?`: toggles keybind help menu + ### Mouse * click to select process @@ -80,6 +76,7 @@ You can use 256 colors, bold, underline, and reverse. You can see the template and get more info [here](https://github.com/cjbassi/gotop/blob/master/src/colorschemes/template.go) and see the default colorscheme as an example [here](https://github.com/cjbassi/gotop/blob/master/src/colorschemes/default.go). + ### CLI Options `-m`, `--minimal` Only show CPU, Mem and Process widgets. diff --git a/build/.goreleaser.yml b/build/.goreleaser.yml index 195d56d..f590474 100644 --- a/build/.goreleaser.yml +++ b/build/.goreleaser.yml @@ -18,6 +18,3 @@ archive: format: tgz files: - none* -dockers: - - image: cjbassi/gotop - - dockerfile: build/Dockerfile diff --git a/build/Dockerfile b/build/Dockerfile deleted file mode 100644 index 88c6caf..0000000 --- a/build/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -# Build the binary with: -# <CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .> - -FROM alpine - -COPY ./gotop /gotop - -ENTRYPOINT ["/gotop"] diff --git a/build/build_steps.txt b/build/build_steps.txt index b0bac80..c37f340 100644 --- a/build/build_steps.txt +++ b/build/build_steps.txt @@ -1,6 +1,5 @@ make sure gotop builds and runs tag commit with version number export GitHub token in shell -run `sudo dockerd` run `goreleaser --rm-dist -f build/.goreleaser.yml` update AUR package |