Commit graph

26 commits

Author SHA1 Message Date
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
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
f4f56055e5
Update README.md 2019-07-01 09:24:41 +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
4416a5fa86
Update README.md 2019-06-30 10:43:42 +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
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
2e26736af3
Update README.md 2019-06-23 18:58:23 +10:00
Jesse Duffield
704197e113
Update README.md 2019-06-23 18:24:12 +10:00
Jesse Duffield
de36873b54
Update README.md 2019-06-23 18:21:32 +10:00
Jesse Duffield
577a778cda
Update README.md 2019-06-23 18:17:04 +10:00
Jesse Duffield
d38ee4f71d
Update README.md 2019-06-23 17:49:10 +10:00
Jesse Duffield
6cbfc4c95e
Update README.md 2019-06-23 15:51:22 +10:00
Jesse Duffield
d3757342b8
Update README.md 2019-06-23 15:50:41 +10:00
Jesse Duffield
5c1072667d
Update README.md 2019-06-23 15:47:54 +10:00
Jesse Duffield
ff4d545e15
Update README.md 2019-06-23 15:47:37 +10:00
Jesse Duffield
c3f8cc1e3e
Update README.md 2019-06-23 15:38:13 +10:00
Jesse Duffield
7deef46239 update donate link 2019-06-18 21:32:30 +10:00
Jesse Duffield
8e62044666 update readme 2019-06-18 21:19:51 +10:00
Jesse Duffield
cf5ec17197 repurpose lazygit code 2019-05-12 10:32:02 +10:00