-
Notifications
You must be signed in to change notification settings - Fork 223
/
tini.yaml
60 lines (52 loc) · 1.39 KB
/
tini.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
package:
name: tini
version: 0.19.0
epoch: 6
description: A tiny but valid init for containers
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- cmake
- openssf-compiler-options
- samurai
environment:
CFLAGS: -Wno-error=sign-conversion -Wno-error=hardened
pipeline:
- uses: git-checkout
with:
expected-commit: de40ad007797e0dcd8b7126f27bb87401d224240
repository: https://github.com/krallin/tini
tag: v${{package.version}}
- runs: |
export CFLAGS="$CFLAGS -DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37"
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=None
cmake --build build --target all tini-static
- runs: |
install -Dm755 build/tini ${{targets.destdir}}/sbin/tini
subpackages:
- name: tini-static
pipeline:
- runs: install -Dm755 build/tini-static ${{targets.subpkgdir}}/sbin/tini-static
description: Static build of tini
- name: tini-compat
pipeline:
- runs: |
mkdir -p ${{targets.contextdir}}/usr/bin
ln -sf /sbin/tini ${{targets.contextdir}}/usr/bin/tini
description: Compatibility symlink for tini
update:
enabled: true
github:
identifier: krallin/tini
strip-prefix: v
use-tag: true
test:
pipeline:
# AUTOGENERATED
- runs: |
tini --version