-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.yaml
More file actions
49 lines (37 loc) · 949 Bytes
/
Makefile.yaml
File metadata and controls
49 lines (37 loc) · 949 Bytes
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
version: 1
default: build-au-proxy
property:
TAG: deployable/debian-build
PROXY: http://10.8.8.8:3142
LOCALE: original
IMAGE:
shell: |
awk '/^FROM/{print $2}' Dockerfile
BUILD_ARGS: []
BUILD_ARGS_STR: ''
command:
pull:
shell: 'docker pull {{ IMAGE }}'
build:
shell: 'docker build -t {{ TAG }} {{ BUILD_ARGS_STR }} .'
au:
property:
LOCALE: au
locale:
# property_concat:
# BUILD_ARGS: ["--build-arg","DOCKER_BUILD_LOCALE={{LOCALE}}"]
property_append:
BUILD_ARGS_STR: |
--build-arg DOCKER_BUILD_LOCALE={{LOCALE}}
build-au:
command: ["au","locale","build"]
proxy:
# property_concat:
# BUILD_ARGS: ["--build-arg","DOCKER_BUILD_PROXY={{PROXY}}"]
property_append:
BUILD_ARGS_STR: |
--build-arg DOCKER_BUILD_PROXY={{PROXY}}
build-proxy:
command: ["proxy","build"]
build-au-proxy: |
command: ["au","proxy","build"]