mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
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
This commit is contained in:
parent
18d34d5c01
commit
d78648cabb
2 changed files with 10 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ go get github.com/jesseduffield/lazydocker
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
|
[](https://hub.docker.com/r/jesseduffield/lazydocker)
|
||||||
|
[](https://hub.docker.com/r/jesseduffield/lazydocker)
|
||||||
|
[](https://hub.docker.com/r/jesseduffield/lazydocker)
|
||||||
|
|
||||||
1. <details><summary>Build it...</summary><p>
|
1. <details><summary>Build it...</summary><p>
|
||||||
|
|
||||||
- If you have a x86_64 CPU architecture
|
- If you have a x86_64 CPU architecture
|
||||||
|
|
|
||||||
6
hooks/build
Normal file
6
hooks/build
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
||||||
|
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
||||||
|
--build-arg VERSION=`git describe --abbrev=0 --tag` \
|
||||||
|
-t $IMAGE_NAME .
|
||||||
Loading…
Add table
Reference in a new issue