-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
40 lines (38 loc) · 2.54 KB
/
Dockerfile
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
FROM ansibleplaybookbundle/apb-base
MAINTAINER Ansible Playbook Bundle Community
LABEL "com.redhat.apb.spec"=\
"dmVyc2lvbjogMS4wCm5hbWU6IHdvcmRwcmVzcy1oYS1hcGIKZGVzY3JpcHRpb246IEhpZ2ggQXZh\
aWxhYmlsaXR5IFdvcmRwcmVzcyBBUEIKYmluZGFibGU6IFRydWUKYXN5bmM6IG9wdGlvbmFsCm1l\
dGFkYXRhOiAKICBkb2N1bWVudGF0aW9uVXJsOiBodHRwczovL3dvcmRwcmVzcy5vcmcvCiAgbG9u\
Z0Rlc2NyaXB0aW9uOiBBbiBhcGIgdGhhdCBkZXBsb3lzIEhpZ2ggQXZhaWxhYmlsaXR5IFdvcmRw\
cmVzcwogIGRlcGVuZGVuY2llczogWydxdWF5LmlvL2NvcmVvcy9ldGNkOmxhdGVzdCcsICdkb2Nr\
ZXIuaW8vcGVyY29uYWxhYi9wZXJjb25hLXh0cmFkYi1jbHVzdGVyOjUuNicsICd3b3JkcHJlc3Mn\
XQogIGRpc3BsYXlOYW1lOiBXb3JkcHJlc3MtSEEgKEFQQikKICBjb25zb2xlLm9wZW5zaGlmdC5p\
by9pY29uQ2xhc3M6IGljb24td29yZHByZXNzCiAgcHJvdmlkZXJEaXNwbGF5TmFtZTogIlJlZCBI\
YXQsIEluYy4iCnBsYW5zOgogIC0gbmFtZTogZGVmYXVsdAogICAgZGVzY3JpcHRpb246IFRoaXMg\
cGxhbiBkZXBsb3lzIEhpZ2ggQXZhaWxhYmlsaXR5IFdvcmRwcmVzcwogICAgZnJlZTogVHJ1ZQog\
ICAgbWV0YWRhdGE6CiAgICAgIGRpc3BsYXlOYW1lOiBEZWZhdWx0CiAgICAgIGxvbmdEZXNjc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XNlIG5vZGVzCiAgICAgICAgcmVxdWlyZWQ6IFRydWUKICAgICAgLSBuYW1lOiBtaW5fd29yZHBy\
ZXNzX3JlcGxpY2FzCiAgICAgICAgZGVmYXVsdDogNQogICAgICAgIHR5cGU6IGludAogICAgICAg\
IHRpdGxlOiBtaW5pbXVtIHdvcmRwcmVzcyByZXBsaWNhcwogICAgICAgIHJlcXVpcmVkOiBUcnVl\
CiAgICAgIC0gbmFtZTogbWF4X3dvcmRwcmVzc19yZXBsaWNhcwogICAgICAgIGRlZmF1bHQ6IDEw\
CiAgICAgICAgdHlwZTogaW50CiAgICAgICAgdGl0bGU6IG1heGltdW0gd29yZHByZXNzIHJlcGxp\
Y2FzCiAgICAgICAgcmVxdWlyZWQ6IFRydWUK"
COPY roles /opt/ansible/roles
COPY playbooks /opt/apb/actions
RUN chmod -R g=u /opt/{ansible,apb}
USER apb