-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathairstack.yml
48 lines (39 loc) · 1.24 KB
/
airstack.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
45
46
47
################################################################################
# Defaults
#
# Best practice is to set defaults to production settings.
name: airstack/core
build:
from:
image: debian
tag: wheezy
dir: .airstack/build
cache: .airstack/cache
templates:
# Build template directory
dir: Dockerfiles
# Build templates, concatenated in listed order
files: Dockerfile.base Dockerfile.packages Dockerfile.services
cmd: "sh -c '{ /etc/runit/2 multi &}'"
################################################################################
# Environment specific sections
#
# Prefixed with a colon ':'
# Missing keys in environment sections will be looked up the default section above.
:development:
build:
templates:
<% dev_tpls = 'Dockerfile.base Dockerfile.packages Dockerfile.packages.development Dockerfile.services Dockerfile.services.development' %>
files: <%= dev_tpls %>
mount: &dev_mounts
- ./command:/package/json/json-utils/command
- ./test:/package/json/json-utils/test
:test:
build:
templates:
files: <%= dev_tpls %> Dockerfile.services.test
cmd: /command/core-test-runner -f /package/airstack/test/\*_spec.lua
mount:
*dev_mounts
:production:
# Build defaults