Remove Docker

This commit is contained in:
Caleb Bassi 2018-05-11 00:56:44 -07:00
parent 68277185e0
commit c02bf5d0ad
4 changed files with 5 additions and 20 deletions

View File

@ -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.

View File

@ -18,6 +18,3 @@ archive:
format: tgz
files:
- none*
dockers:
- image: cjbassi/gotop
- dockerfile: build/Dockerfile

View File

@ -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"]

View File

@ -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