Quentin McGaw
a01f704d61
Added volume to Dockerfile so bind mounting is optional
2019-07-06 14:56:06 +02:00
Quentin McGaw
5532f1da80
Moved docker-compose.yml out of readme
2019-07-06 14:55:45 +02:00
Quentin McGaw
92837ca1cb
Buffering channel with a size of 1
2019-07-05 14:46:38 +02:00
Quentin McGaw
d8b0e1872f
Updated readme's Docker section
...
- No need to build for amd64 architectures, just pull automatically from Docker Hub when invoking `docker run ...`
- Build instructions only for ARM devices as Docker Hub does not build for ARM architectures really.
- Updated Docker image tag from `lazydocker` to `lazyteam/lazydocker`
- Added docker-compose.yml collapsible example
2019-07-05 14:43:41 +02:00
Quentin McGaw
ee6b990792
Applied changes from @dawidd6 to check on terminal space at start
2019-07-05 14:39:27 +02:00
Quentin McGaw
29ad43c4a4
Fixed infinite loop for checking terminal space as discussed in PR
...
- All the checks are in the `waitForTerminalSpace` function
- It tries to run the program directly if the width is positive
- It then sleeps 50 milliseconds the first time if the width is zero
- If after the first sleep, the terminal width is still zero, it prints the waiting time to stderr and will keep on doing so with increasing sleep times.
2019-07-05 01:31:28 +02:00
Quentin McGaw
e637497fdb
Removed useless installsuffix cgo from Docker Go build
2019-07-05 01:29:33 +02:00
Quentin McGaw
7107a4cfa1
Added config bind mount instruction to Docker container
2019-07-02 20:26:15 +02:00
Quentin McGaw
d404716d0a
Fixed bad loop for checking terminal size
2019-07-02 20:14:34 +02:00
Quentin McGaw
767488a5e7
Detailed development Docker build in readme with all build args
2019-07-02 20:08:56 +02:00
Quentin McGaw
20f4ad8e49
Resolved screen size issue, final Docker image uses Scratch
2019-07-02 20:08:29 +02:00
Quentin McGaw
d78648cabb
Added Docker automated build hook and readme badges for Docker
...
- Build arguments are injected by the build hook
- Badges added: number of pulls, stars and if the build is automated
2019-07-02 14:06:44 +02:00
Quentin McGaw
18d34d5c01
VERSION and VCS_REF build arguments are unset by default
2019-07-02 13:57:44 +02:00
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