forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-cli.yaml
73 lines (63 loc) · 1.68 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
70
71
72
73
package:
name: docker-cli
version: 27.3.1
epoch: 1
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
- openssf-compiler-options
pipeline:
- uses: git-checkout
with:
repository: https://github.com/docker/cli
tag: v${{package.version}}
expected-commit: ce1223035ac3ab8922717092e63a184cf67b493d
- 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
update:
enabled: true
ignore-regex-patterns:
- (.*)(beta|rc)(.*) # Ignore beta, and rc releases
github:
identifier: docker/cli
strip-prefix: v
tag-filter: v
use-tag: true
test:
pipeline:
# AUTOGENERATED
- runs: |
docker --version
docker --help