-
Notifications
You must be signed in to change notification settings - Fork 289
/
Copy pathdocker-cli.yaml
69 lines (59 loc) · 1.66 KB
/
docker-cli.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package:
name: docker-cli
version: 24.0.6
epoch: 2
description: The Docker CLI
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- bash
- btrfs-progs-dev
- build-base
- busybox
- ca-certificates-bundle
- containerd
- coreutils
- go
- libseccomp-dev
- libtool
- linux-headers
- lvm2-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/docker/cli
tag: v${{package.version}}
expected-commit: ed223bc820ee9bb7005a333013b86203a9e1bc23
- runs: |
export DISABLE_WARN_OUTSIDE_CONTAINER=1
mkdir -p "$GOPATH/src/github.com/docker/"
ln -sf /home/build "$GOPATH"/src/github.com/docker/cli
LDFLAGS="" make VERSION=${{package.version}} dynbinary
install -Dm755 build/docker-linux-* ${{targets.destdir}}/usr/bin/docker
- runs: |
make manpages
install -Dm644 man/man1/* -t ${{targets.destdir}}/usr/share/man/man1/
# Docker is vehemenetly against stripping the resulting binary
# Ref: https://github.com/moby/moby/blob/d8a51d2887cbc465ab8d76ed98f7a86996ab3c22/project/PACKAGERS.md#stripping-binaries
# - uses: strip
- runs: |
# this exists to appease yam
subpackages:
- name: "docker-cli-doc"
description: "docker-cli documentation"
pipeline:
- uses: split/manpages
# Ref: https://github.com/docker-library/docker/blob/master/Dockerfile-cli.template
- name: docker-cli-compat
dependencies:
runtime:
- docker-oci-entrypoint
- docker-modprobe-compat
update:
enabled: true
github:
identifier: docker/cli
strip-prefix: v
tag-filter: v