-
Notifications
You must be signed in to change notification settings - Fork 12
/
Dockerfile-canary
65 lines (59 loc) · 4.16 KB
/
Dockerfile-canary
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
54
55
56
57
58
59
60
61
62
63
64
65
FROM ansibleplaybookbundle/apb-base:canary
MAINTAINER Ansible Playbook Bundle Community
LABEL "com.redhat.apb.spec"=\
"LS0tCgp2ZXJzaW9uOiAnMS4wJwpuYW1lOiBwb3N0Z3Jlc3FsLWFwYgpkZXNjcmlwdGlvbjogU0NM\
IFBvc3RncmVTUUwgYXBiIGltcGxlbWVudGF0aW9uCmJpbmRhYmxlOiB0cnVlCmFzeW5jOiBvcHRp\
b25hbAp0YWdzOgogIC0gZGF0YWJhc2UKICAtIHBvc3RncmVzcWwKbWV0YWRhdGE6CiAgZG9jdW1l\
bnRhdGlvblVybDogaHR0cHM6Ly93d3cucG9zdGdyZXNxbC5vcmcvZG9jcy8KICBsb25nRGVzY3Jp\
cHRpb246IEFuIGFwYiB0aGF0IGRlcGxveXMgcG9zdGdyZXNxbCA5LjUsIDkuNiBvciAxMC4KICBk\
ZXBlbmRlbmNpZXM6CiAgICAtICdkb2NrZXIuaW8vY2VudG9zL3Bvc3RncmVzcWwtOTUtY2VudG9z\
NycKICAgIC0gJ2RvY2tlci5pby9jZW50b3MvcG9zdGdyZXNxbC05Ni1jZW50b3M3JwogICAgLSAn\
ZG9ja2VyLmlvL2NlbnRvcy9wb3N0Z3Jlc3FsLTEwLWNlbnRvczcnCiAgZGlzcGxheU5hbWU6IFBv\
c3RncmVTUUwgKEFQQikKICBjb25zb2xlLm9wZW5zaGlmdC5pby9pY29uQ2xhc3M6IGljb24tcG9z\
dGdyZXNxbAogIHByb3ZpZGVyRGlzcGxheU5hbWU6ICJSZWQgSGF0LCBJbmMuIgpwbGFuczoKICAt\
IG5hbWU6IGRldgog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AgICAgdHlwZTogc3RyaW5nCiAgICAg\
ICAgbWF4bGVuZ3RoOiA2MwogICAgICAgIHBhdHRlcm46ICJeW2EtekEtWl9dW2EtekEtWjAtOV9d\
KiQiCiAgICAgICAgcmVxdWlyZWQ6IHRydWUKICAgICAgLSBuYW1lOiBwb3N0Z3Jlc3FsX3Bhc3N3\
b3JkCiAgICAgICAgdHlwZTogc3RyaW5nCiAgICAgICAgdGl0bGU6IFBvc3RncmVTUUwgUGFzc3dv\
cmQKICAgICAgICBkaXNwbGF5X3R5cGU6IHBhc3N3b3JkCiAgICAgICAgcGF0dGVybjogIl5bYS16\
QS1aMC05X34hQCMkJV4mKigpLT08PiwuPzs6fF0rJCIKICAgICAgICByZXF1aXJlZDogdHJ1ZQog\
ICAgICAtIG5hbWU6IHBvc3RncmVzcWxfdmVyc2lvbgogICAgICAgIGRlZmF1bHQ6ICcxMCcKICAg\
ICAgICBlbnVtOiBbJzEwJywgJzkuNicsICc5LjUnXQogICAgICAgIHR5cGU6IGVudW0KICAgICAg\
ICB0aXRsZTogUG9zdGdyZVNRTCBWZXJzaW9uCiAgICAgICAgcmVxdWlyZWQ6IHRydWUKICAgICAg\
ICB1cGRhdGFibGU6IHRydWUKICAgICAgLSBuYW1lOiBwb3N0Z3Jlc3FsX3ZvbHVtZV9zaXplCiAg\
ICAgICAgdHlwZTogZW51bQogICAgICAgIGRlZmF1bHQ6ICcxR2knCiAgICAgICAgZW51bTogWycx\
R2knLCAnNUdpJywgJzEwR2knXQogICAgICAgIHRpdGxlOiBQb3N0Z3JlU1FMIFZvbHVtZSBTaXpl\
CiAgICAgICAgcmVxdWlyZWQ6IHRydWUKICAgIHVwZGF0ZXNfdG86CiAgICAgIC0gZGV2Cg=="
ADD playbooks /opt/apb/actions
# Add our role into the ansible roles dir
ADD . /opt/ansible/roles/postgresql-apb
RUN chmod -R g=u /opt/{ansible,apb}
USER apb