mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 07:11:01 +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
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue