-
Notifications
You must be signed in to change notification settings - Fork 1
/
rockcraft.yaml
65 lines (59 loc) · 1.36 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: vault
base: bare
build-base: [email protected]
version: "1.17.6"
summary: A ROCK container image for Vault
description: |
A ROCK container image for Vault, a tool for secrets management, encryption as a service, and privileged access management.
license: Apache-2.0
platforms:
amd64:
arm64:
services:
vault:
command: vault server -config=/vault/config/config.hcl
override: replace
startup: enabled
package-repositories:
- type: apt
url: https://deb.nodesource.com/node_20.x
components: [main]
suites: [focal]
key-id: 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
- type: apt
url: https://dl.yarnpkg.com/debian/
components: [main]
suites: [stable]
key-id: 72ECF46A56B4AD39C907BBB71646B01B86E50310
parts:
vault:
plugin: go
go-buildtags:
- vault
- ui
source: https://github.com/hashicorp/vault.git
source-tag: v1.17.6
source-type: git
source-depth: 1
stage:
- bin/vault
build-snaps:
- go/1.22/stable
build-packages:
- nodejs
- yarn
override-build: |
make static-dist
craftctl default
strip -s $CRAFT_PART_INSTALL/bin/*
default-config:
plugin: dump
source: ./config
organize:
config.hcl: /vault/config/config.hcl
packages:
plugin: nil
stage-packages:
- ca-certificates_data
- libc6_libs
- base-files_lib