Commit Graph

29 Commits (d78648cabb8f78b92051361687bdf3c9be15fa62)

Author SHA1 Message Date
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
5 years ago
Quentin McGaw c89e396121 Lazydocker can be ran directly as entrypoint
Thanks to the script:

```sh
#!/bin/sh

resize > /dev/null
lazydocker $@
```
5 years ago
Quentin McGaw 580936c73c Fixed docker build typo (both URL and PATH) 5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
Jesse Duffield f4f56055e5
Update README.md 5 years ago
Jesse Duffield 588ff79003
Update README.md 5 years ago
Jesse Duffield 752b281abf just use demo3.gif 5 years ago
Jesse Duffield 4416a5fa86
Update README.md 5 years ago
Jesse Duffield f5e11aadf1
Update README.md 5 years ago
Jesse Duffield 3715e6a153
Update README.md 5 years ago
Jesse Duffield e4c7a84211
Update README.md 5 years ago
Jesse Duffield 374b4aca4e
Update README.md 5 years ago
Jesse Duffield 7feb0c4d8c
Update README.md 5 years ago
Jesse Duffield 05af9e5aa1
Update README.md 5 years ago
Jesse Duffield 2e26736af3
Update README.md 5 years ago
Jesse Duffield 704197e113
Update README.md 5 years ago
Jesse Duffield de36873b54
Update README.md 5 years ago
Jesse Duffield 577a778cda
Update README.md 5 years ago
Jesse Duffield d38ee4f71d
Update README.md 5 years ago
Jesse Duffield 6cbfc4c95e
Update README.md 5 years ago
Jesse Duffield d3757342b8
Update README.md 5 years ago
Jesse Duffield 5c1072667d
Update README.md 5 years ago
Jesse Duffield ff4d545e15
Update README.md 5 years ago
Jesse Duffield c3f8cc1e3e
Update README.md 5 years ago
Jesse Duffield 7deef46239 update donate link 5 years ago
Jesse Duffield 8e62044666 update readme 5 years ago
Jesse Duffield cf5ec17197 repurpose lazygit code 5 years ago