mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Merge 8bd7ee36d6 into 7e7aadc207
This commit is contained in:
commit
bfedaff73b
2 changed files with 37 additions and 0 deletions
|
|
@ -32,6 +32,16 @@ builds:
|
||||||
- 386
|
- 386
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=snap
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=snap
|
||||||
|
- id: deb
|
||||||
|
goos:
|
||||||
|
- linux
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
- arm
|
||||||
|
- arm64
|
||||||
|
- 386
|
||||||
|
ldflags:
|
||||||
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.buildSource=deb
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- builds:
|
- builds:
|
||||||
|
|
@ -45,6 +55,9 @@ archives:
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
- builds:
|
||||||
|
- deb
|
||||||
|
format: deb
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: "checksums.txt"
|
name_template: "checksums.txt"
|
||||||
|
|
@ -72,6 +85,21 @@ brews:
|
||||||
# Your app's description.
|
# Your app's description.
|
||||||
# Default is empty.
|
# Default is empty.
|
||||||
description: "A simple terminal UI for docker, written in Go"
|
description: "A simple terminal UI for docker, written in Go"
|
||||||
|
|
||||||
|
nfpms:
|
||||||
|
- id: deb
|
||||||
|
package_name: lazydocker
|
||||||
|
license: MIT
|
||||||
|
maintainer: "Jesse Duffield <jesse@duffield.com>"
|
||||||
|
vendor: "Jesse Duffield"
|
||||||
|
homepage: "https://github.com/jesseduffield/lazydocker"
|
||||||
|
description: "A simple terminal UI for docker, written in Go"
|
||||||
|
formats:
|
||||||
|
- deb
|
||||||
|
dependencies:
|
||||||
|
- docker
|
||||||
|
- docker-compose
|
||||||
|
|
||||||
#snapcrafts:
|
#snapcrafts:
|
||||||
# - builds:
|
# - builds:
|
||||||
# - snap
|
# - snap
|
||||||
|
|
|
||||||
|
|
@ -223,6 +223,15 @@ yay -S lazydocker
|
||||||
echo "alias lzd='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v /yourpath/config:/.config/jesseduffield/lazydocker lazyteam/lazydocker'" >> ~/.zshrc
|
echo "alias lzd='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v /yourpath/config:/.config/jesseduffield/lazydocker lazyteam/lazydocker'" >> ~/.zshrc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### `.deb` Package
|
||||||
|
|
||||||
|
You can also install `lazydocker` using a `.deb` package. This allows you to easily add it to any deb-based distribution, including Ubuntu.
|
||||||
|
|
||||||
|
To do that, just download the latest `.deb` package from the releases page and install the package using `dpkg`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo dpkg -i lazydocker_<version>_amd64.deb
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
For development, you can build the image using:
|
For development, you can build the image using:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue