-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile-canary
43 lines (38 loc) · 2.54 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
FROM ansibleplaybookbundle/apb-base:canary
LABEL "com.redhat.apb.spec"=\
"dmVyc2lvbjogJzEuMCcKbmFtZTogbWVkaWF3aWtpLWFwYgpkZXNjcmlwdGlvbjogTWVkaWF3aWtp\
IGFwYiBpbXBsZW1lbnRhdGlvbgpiaW5kYWJsZTogRmFsc2UKYXN5bmM6IG9wdGlvbmFsCm1ldGFk\
YXRhOgogIGRvY3VtZW50YXRpb25Vcmw6IGh0dHBzOi8vd3d3Lm1lZGlhd2lraS5vcmcvd2lraS9E\
b2N1bWVudGF0aW9uCiAgbG9uZ0Rlc2NyaXB0aW9uOiBBbiBhcGIgdGhhdCBkZXBsb3lzIE1lZGlh\
d2lraQogIGRlcGVuZGVuY2llczogWydkb2NrZXIuaW8vYW5zaWJsZXBsYXlib29rYnVuZGxlL21l\
ZGlhd2lraTpsYXRlc3QnXQogIGRpc3BsYXlOYW1lOiBNZWRpYXdpa2kgKEFQQikKICBjb25zb2xl\
Lm9wZW5zaGlmdC5pby9pY29uQ2xhc3M6IGljb24tbWVkaWF3aWtpCiAgcHJvdmlkZXJEaXNwbGF5\
TmFtZTogIlJlZCBIYXQsIEluYy4iCnBsYW5zOgogIC0gbmFtZTogZGVmYXVsdAogICAgZGVzY3Jp\
cHRpb246IEFuIEFQQiB0aGF0IGRlcGxveXMgTWVkaWFXaWtpCiAgICBmcmVlOiBUcnVlCiAgICBt\
ZXRhZGF0YToKICAgICAgZGlzcGxheU5hbWU6IERlZmF1bHQKICAgICAgbG9uZ0Rlc2NyaXB0aW9u\
OgogICAgICAgIFRoaXMgcGxhbiBkZXBsb3lzIGEgc2luZ2xlIG1lZGlhd2lraSBpbnN0YW5jZSB3\
aXRob3V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JpbmcKICAgICAgICB0aXRsZTogTWVkaWF3aWtpIEFk\
bWluIFVzZXIgUGFzc3dvcmQKICAgICAgICByZXF1aXJlZDogVHJ1ZQogICAgICAgIGRpc3BsYXlf\
dHlwZTogcGFzc3dvcmQKICAgICAgLSBuYW1lOiBtZWRpYXdpa2lfdm9sdW1lX3NpemUKICAgICAg\
ICB0eXBlOiBlbnVtCiAgICAgICAgZGVmYXVsdDogJzFHaScKICAgICAgICBlbnVtOiBbJzFHaScs\
ICc1R2knLCAnMTBHaSddCiAgICAgICAgdGl0bGU6IE1lZGlhV2lraSBWb2x1bWUgU2l6ZQogICAg\
ICAgIHJlcXVpcmVkOiB0cnVlCg=="
ADD playbooks /opt/apb/actions
# Add our role into the ansible roles dir
ADD . /opt/ansible/roles/mediawiki-apb
RUN chmod -R g=u /opt/{ansible,apb}
USER apb