-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
recipe.yml
44 lines (42 loc) · 986 Bytes
/
recipe.yml
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
name: Chronos Image
id: chronos
stages:
- id: build
base: ghcr.io/vanilla-os/pico:main
singlelayer: false
labels:
maintainer: Vanilla OS Contributors
entrypoint:
exec:
- /bin/sh
- '-c'
- cd /app && ./chronos
args:
DEBIAN_FRONTEND: noninteractive
runs:
commands:
- echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/01norecommends
modules:
- name: update-repo
type: shell
commands:
- apt-get update
- name: install-deps
type: apt
source:
packages:
- git
- golang
- nano
- name: build-app
type: shell
source:
type: git
url: https://github.com/Vanilla-OS/Chronos
branch: main
commit: latest
commands:
- mv /sources/build-app /app
- cd /app
- go build -o chronos .
- mv config /config