This commit is contained in:
Tommaso Melacarne 2026-04-19 15:25:30 -05:00 committed by GitHub
commit bfedaff73b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View file

@ -32,6 +32,16 @@ builds:
- 386
ldflags:
- -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:
- builds:
@ -45,6 +55,9 @@ archives:
format_overrides:
- goos: windows
format: zip
- builds:
- deb
format: deb
checksum:
name_template: "checksums.txt"
@ -72,6 +85,21 @@ brews:
# Your app's description.
# Default is empty.
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:
# - builds:
# - snap

View file

@ -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
```
### `.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: