-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
23 lines (21 loc) · 1.24 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
FROM ansibleplaybookbundle/apb-base
LABEL "com.redhat.apb.spec"=\
"dmVyc2lvbjogMS4wCm5hbWU6IGV2ZW50LWZsb3ctYXBiCmRlc2NyaXB0aW9uOiBUaGlzIGlzIGEg\
c2FtcGxlIGFwcGxpY2F0aW9uIGdlbmVyYXRlZCBieSBhcGIgaW5pdApiaW5kYWJsZTogRmFsc2UK\
YXN5bmM6IG9wdGlvbmFsCm1ldGFkYXRhOgogIGRpc3BsYXlOYW1lOiBFdmVudEZsb3cKICBjb25z\
b2xlLm9wZW5zaGlmdC5pby9pY29uQ2xhc3M6IGZhIGZhLXBhcGVyLXBsYW5lCiAgcHJvdmlkZXJE\
aXNwbGF5TmFtZTogIlJlZCBIYXQsIEluYy4iCiAgZGVwZW5kZW5jaWVzOgogICAgLSAiZG9ja2Vy\
LmlvL3N0cmVhbXppL2Vudmlyb25tZW50LXZhcmlhYmxlLW9wZXJhdG9yOmxhdGVzdCIKICAgIC0g\
ImRvY2tlci5pby9zdHJlYW16aS9ldmVudGZsb3ctb3BlcmF0b3I6bGF0ZXN0IgogICAgLSAiZG9j\
a2VyLmlvL3N0cmVhbXppL2V2ZW50Zmxvdy11aTpsYXRlc3QiCnBsYW5zOgogIC0gbmFtZTogZGVm\
YXVsdAogICAgZGVzY3JpcHRpb246IFRoaXMgZGVmYXVsdCBwbGFuIGRlcGxveXMgZXZlbnQtZmxv\
dy1hcGIKICAgIGZyZWU6IFRydWUKICAgIG1ldGFkYXRhOiB7fQogICAgcGFyYW1ldGVyczoKICAg\
IC0gbmFtZTogYWRtaW5fdXNlcgogICAgICB0aXRsZTogT3BlbnNoaWZ0IEFkbWluIFVzZXIKICAg\
ICAgdHlwZTogc3RyaW5nCiAgICAgIHJlcXVpcmVkOiB0cnVlCiAgICAtIG5hb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