Commit graph

173 commits

Author SHA1 Message Date
Quentin McGaw
c89e396121 Lazydocker can be ran directly as entrypoint
Thanks to the script:

```sh
#!/bin/sh

resize > /dev/null
lazydocker $@
```
2019-07-01 15:39:52 +02:00
Quentin McGaw
580936c73c Fixed docker build typo (both URL and PATH) 2019-07-01 15:38:21 +02:00
Quentin McGaw
fd70aaaf05 Git commit reference mechanism changed
- Git commit is passed as a build argument as explained in README.md
- `.git` directory is ignored by Docker for a quicker build and smaller context
- the build arg VCS_REF is used both to tag the image and the Go program
2019-07-01 15:37:55 +02:00
Quentin McGaw
330131b6ca Fixed Docker regarding no size window with gocui
- Runs the container with `/bin/sh` initially
- Invoke `lazydocker` from within the container, or gocui fails as the terminal window is invalid at launch
2019-07-01 11:57:50 +02:00
Quentin McGaw
ceb8cfcd76 Added Docker labels and Go commit, version and buildSource 2019-07-01 11:51:08 +02:00
Quentin McGaw
1542c70b53 Reworked Dockerfile for a more production oriented usage
- Added .dockerignore to speed up build context and avoid rebuilding when unecessary
- Specified Alpine and Go versions as build arguments
- Specified Go target CPU architecture as build arguments to be able to build for ARM devices
- Specified base images as build arguments to be able to build for ARM devices
- Trimmed down size of final image using `-a -installsuffix cgo -ldflags="-s -w"` go build flags and by copying the statically built binary only to the final image
- Added clear build and run instructions for the Docker container
2019-07-01 09:57:48 +02:00
Jesse Duffield
a51bb830a5
Merge pull request #32 from jonyhy96/master
fix strings.ReplaceAll() does't exist error while go version bellow 1.12
2019-07-01 16:30:09 +10:00
haoyun
0fe35ba5c5 fix strings.ReplaceAll() does't exist error while go version bellow 1.12 2019-07-01 14:18:11 +08:00
Jesse Duffield
f4f56055e5
Update README.md 2019-07-01 09:24:41 +10:00
Jesse Duffield
d590b2b9f3
Merge pull request #17 from jesseduffield/fix-invalid-keybinding
remove incorrect description from status click binding
2019-06-30 22:23:55 +10:00
Jesse Duffield
dcd5bcdfcd remove incorrect description from status click binding 2019-06-30 22:22:35 +10:00
Jesse Duffield
50a6eb64ec actually take the debugging flag seriously 2019-06-30 21:00:01 +10:00
Jesse Duffield
da03778cf9
Merge pull request #14 from jesseduffield/12_unix-permission-error
don't panic on unix permission failure
2019-06-30 20:56:10 +10:00
Jesse Duffield
ba426f05be don't panick on unix connection failure 2019-06-30 20:41:12 +10:00
Jesse Duffield
51d9b14ab5
Merge pull request #10 from jesseduffield/bright-theme-compatability
support light themes in terminals
2019-06-30 20:02:47 +10:00
Jesse Duffield
5169356454 support light themes in terminals 2019-06-30 19:58:46 +10:00
Jesse Duffield
9c8c88e939
Merge pull request #8 from jesseduffield/nil-pointer
Fix bug with hanging app on startup
2019-06-30 18:34:25 +10:00
Jesse Duffield
d317bc37db remove unused import 2019-06-30 18:31:40 +10:00
Jesse Duffield
6ca5afc767 bump termbox-go 2019-06-30 18:31:08 +10:00
Jesse Duffield
345f02eb11 fix nil pointer exception when trying to kill process 2019-06-30 18:24:59 +10:00
Jesse Duffield
588ff79003
Update README.md 2019-06-30 17:40:03 +10:00
Jesse Duffield
752b281abf just use demo3.gif 2019-06-30 13:31:01 +10:00
Jesse Duffield
7e68985da5 override wrap for image panel 2019-06-30 11:51:21 +10:00
Jesse Duffield
ea8258d66e more stuff 2019-06-30 11:40:55 +10:00
Jesse Duffield
4416a5fa86
Update README.md 2019-06-30 10:43:42 +10:00
Jesse Duffield
4a6b1b8256 update cheatsheet 2019-06-30 10:41:26 +10:00
Jesse Duffield
f5e11aadf1
Update README.md 2019-06-30 10:37:51 +10:00
Jesse Duffield
3715e6a153
Update README.md 2019-06-30 10:37:21 +10:00
Jesse Duffield
e4c7a84211
Update README.md 2019-06-30 10:36:30 +10:00
Jesse Duffield
852a8510ac update config comments for better godoc experience 2019-06-30 10:31:21 +10:00
Jesse Duffield
374b4aca4e
Update README.md 2019-06-30 10:16:37 +10:00
Jesse Duffield
7feb0c4d8c
Update README.md 2019-06-30 10:16:15 +10:00
Jesse Duffield
05af9e5aa1
Update README.md 2019-06-30 10:11:42 +10:00
Jesse Duffield
2966d2571a
Update FUNDING.yml 2019-06-30 09:51:11 +10:00
Jesse Duffield
84f2b91dc2
Create FUNDING.yml 2019-06-30 09:48:13 +10:00
Jesse Duffield
4e86732cf2 support custom commands that filter down to service names 2019-06-29 21:29:35 +10:00
Jesse Duffield
4856a3d872 use fork of roll so that we don't crash on 429 errors 2019-06-29 20:50:24 +10:00
Jesse Duffield
c57b7122df don't ever highlight main 2019-06-29 15:49:45 +10:00
Jesse Duffield
32fc8ea3e2 defaulting to not wrap now that we can navigate horizontally in the main view 2019-06-29 15:47:15 +10:00
Jesse Duffield
31a6e59738 bump termbox 2019-06-29 15:28:45 +10:00
Jesse Duffield
27eb5a6474 back to only allowing false defaults for config booleans 2019-06-29 15:27:41 +10:00
Jesse Duffield
8a5c634957 don't ask about the reporting config thing more than once 2019-06-29 13:56:58 +10:00
Jesse Duffield
eea087c1db add PromptToReturn config option 2019-06-29 13:41:30 +10:00
Jesse Duffield
e220bedc79 support actual mouse support and focusing the main view 2019-06-29 13:41:15 +10:00
Jesse Duffield
405bb85ed0 support clicking on tabs 2019-06-29 11:27:21 +10:00
Jesse Duffield
0e76f61359 allow click events in menu 2019-06-29 10:47:45 +10:00
Jesse Duffield
7025468f43 allow clicking on frame edges 2019-06-29 10:40:24 +10:00
Jesse Duffield
c3ec4b15ad add in donate button again 2019-06-29 10:40:10 +10:00
Jesse Duffield
dcb8b3329f fix up click events on list panels 2019-06-29 10:22:37 +10:00
Jesse Duffield
8b99753ab8 fix keybinding error in menu panel on close 2019-06-29 10:05:54 +10:00