-
Notifications
You must be signed in to change notification settings - Fork 0
/
barney.yaml
54 lines (46 loc) · 1.17 KB
/
barney.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
---
images:
barney-bus:
units:
- image: barney.ci/barney%bus
- image: barney.ci/alpine%pkg/vim
homebus:
units:
- image: code.arista.io/eos/tools/eext%base-image-devel
- image: code.arista.io/eos/tools/eext%go-binaries
- image: code.arista.io/eos/tools/eext%eext-staticfiles
finalizers:
- [ rm, -f, /var/run ]
- [ mkdir, /var/run, -m, "0755" ]
entry:
env:
EEXT_DEPSDIR: "/dest/RPMS"
docker-entrypoint-sources:
units:
- files:
- from: .
paths:
- 'docker/entrypoint.bash'
docker-entrypoint:
no-create-mountpoints: true
units:
- sources: []
mappings:
/src: .%docker-entrypoint-sources
build: |
mkdir -p /dest/usr/bin
chmod 0555 /dest/usr/bin
cp -p /src/docker/entrypoint.bash /dest/usr/bin/
chmod 0777 /dest/usr/bin/entrypoint.bash
docker:
units:
- image: .%docker-entrypoint
- image: .%homebus
metadata:
docker:
entrypoint: [ /usr/bin/entrypoint.bash ]
env:
- "EEXT_DEPSDIR=/dest/RPMS"
test/docker:
units:
- image: .%docker