mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 07:11:01 +00:00
Detailed development Docker build in readme with all build args
This commit is contained in:
parent
20f4ad8e49
commit
767488a5e7
1 changed files with 11 additions and 3 deletions
14
README.md
14
README.md
|
|
@ -60,8 +60,6 @@ go get github.com/jesseduffield/lazydocker
|
|||
|
||||
```sh
|
||||
docker build -t lazydocker https://github.com/jesseduffield/lazydocker.git
|
||||
# or locally within the repository:
|
||||
docker build -t lazydocker .
|
||||
```
|
||||
|
||||
- If you have a ARM 32 bit v6 architecture
|
||||
|
|
@ -93,7 +91,17 @@ go get github.com/jesseduffield/lazydocker
|
|||
https://github.com/jesseduffield/lazydocker.git
|
||||
```
|
||||
|
||||
You can also add `--build-arg VCS_REF=$(git rev-parse HEAD)` so that the go build and the container contain the commit used.
|
||||
- For development:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/jesseduffield/lazydocker.git
|
||||
cd lazydocker
|
||||
docker build -t lazydocker \
|
||||
--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` \
|
||||
.
|
||||
```
|
||||
|
||||
</p></details>
|
||||
1. Run it
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue