-
Notifications
You must be signed in to change notification settings - Fork 2
/
rockcraft.yaml
47 lines (40 loc) · 866 Bytes
/
rockcraft.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
name: ratings
version: 0.0.1
license: GPL-3.0
base: bare
build_base: ubuntu:22.04
platforms:
amd64:
summary: Ubuntu App Ratings Service
description: |
Backend service to support application ratings in the new Ubuntu Software Centre.
run_user: _daemon_
environment:
APP_ENV: dev
APP_HOST: 0.0.0.0
APP_LOG_LEVEL: info
APP_NAME: ratings
APP_PORT: 18080
services:
ratings:
override: replace
startup: enabled
command: "/bin/ratings"
parts:
rust-deps:
plugin: nil
override-pull: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
ratings:
after: [ rust-deps ]
plugin: rust
build-packages:
- libssl-dev
- pkg-config
build-snaps:
- protobuf
source: .
stage-packages:
- libc6_libs
- libgcc-s1_libs
- ca-certificates_data