Skip to content

Commit ef3ca7b

Browse files
committed
Trying some apko based build for images
Signed-off-by: Vincent Demeester <[email protected]>
1 parent 87bb840 commit ef3ca7b

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

images/crane/apko.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
contents:
2+
repositories:
3+
- https://dl-cdn.alpinelinux.org/alpine/edge/main
4+
- https://dl-cdn.alpinelinux.org/alpine/edge/community
5+
packages:
6+
- alpine-base
7+
- build-base
8+
- bash
9+
- crane
10+
11+
accounts:
12+
groups:
13+
- groupname: build
14+
gid: 1000
15+
users:
16+
- username: build
17+
uid: 1000
18+
gid: 1000
19+
run-as: 1000
20+
21+
entrypoint:
22+
command: /bin/crane
23+
24+
archs:
25+
- amd64
26+
- aarch64

images/go-ko/apko.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
contents:
2+
repositories:
3+
- https://dl-cdn.alpinelinux.org/alpine/edge/main
4+
- https://dl-cdn.alpinelinux.org/alpine/edge/community
5+
packages:
6+
- alpine-base
7+
- build-base
8+
- bash
9+
- go
10+
- ko
11+
- crane
12+
13+
accounts:
14+
groups:
15+
- groupname: build
16+
gid: 1000
17+
users:
18+
- username: build
19+
uid: 1000
20+
gid: 1000
21+
run-as: 1000
22+
23+
entrypoint:
24+
command: /bin/ko
25+
26+
archs:
27+
- amd64
28+
- aarch64

0 commit comments

Comments
 (0)