-
Notifications
You must be signed in to change notification settings - Fork 139
/
orbit.yml
38 lines (35 loc) · 1.99 KB
/
orbit.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
# |--------------------------------------------------------------------------
# | Tasks
# |--------------------------------------------------------------------------
# |
# | This file describes the tasks of the project.
# |
# | https://github.com/gulien/orbit/
# |
tasks:
# |--------------------------------------------------------------------------
# | orbit run generate
# |--------------------------------------------------------------------------
# |
# | Generates all Dockerfiles and the README.md file.
# |
- use: generate
short: Generates all Dockerfiles and the README.md file
run:
- orbit generate -f utils/Dockerfile.slim.blueprint -o Dockerfile.slim.apache -p "variant,apache"
- orbit generate -f utils/Dockerfile.slim.blueprint -o Dockerfile.slim.cli -p "variant,cli"
- orbit generate -f utils/Dockerfile.slim.blueprint -o Dockerfile.slim.fpm -p "variant,fpm"
- orbit generate -f utils/Dockerfile.blueprint -o Dockerfile.apache -p "variant,apache;node_version,"
- orbit generate -f utils/Dockerfile.node.blueprint -o Dockerfile.apache.node -p "variant,apache"
- orbit generate -f utils/Dockerfile.blueprint -o Dockerfile.cli -p "variant,cli;node_version,"
- orbit generate -f utils/Dockerfile.node.blueprint -o Dockerfile.cli.node -p "variant,cli"
- orbit generate -f utils/Dockerfile.blueprint -o Dockerfile.fpm -p "variant,fpm;node_version,"
- orbit generate -f utils/Dockerfile.node.blueprint -o Dockerfile.fpm.node -p "variant,fpm"
- |-
sed -i '2i\# DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.*.blueprint)' Dockerfile.*
- orbit generate -f utils/README.blueprint.md -o README.md
- |-
sed -i '1i\[DO NOT EDIT THIS FILE]: <> (Make yours changes in /utils/README.blueprint.md)' README.md
- orbit generate -f utils/docker-bake.blueprint.hcl -o docker-bake.hcl
- |-
sed -i '1i\# DO NOT EDIT THIS FILE Make yours changes in /utils/docker-bake.blueprint.hcl' docker-bake.hcl