forked from sclorg/postgresql-container
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.sh
105 lines (77 loc) · 2.88 KB
/
manifest.sh
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Manifest for image directories creation
# every dest path will be prefixed by $DESTDIR/$version
DESTDIR='' # optional, defaults to $PWD
# Files containing distgen directives
DISTGEN_RULES="
src=src/cccp.yml
dest=cccp.yml;
src=src/root/usr/share/container-scripts/postgresql/README.md
dest=root/usr/share/container-scripts/postgresql/README.md;
src=src/root/usr/share/container-scripts/postgresql/common.sh
dest=root/usr/share/container-scripts/postgresql/common.sh;
src=src/root/usr/bin/run-postgresql-slave
dest=root/usr/bin/run-postgresql-slave
mode=0755;
src=src/root/usr/share/container-scripts/postgresql/openshift-custom-recovery.conf.template
dest=root/usr/share/container-scripts/postgresql/openshift-custom-recovery.conf.template;
src=src/root/usr/share/container-scripts/postgresql/openshift-custom-postgresql-replication.conf.template
dest=root/usr/share/container-scripts/postgresql/openshift-custom-postgresql-replication.conf.template;
"
# Files containing distgen directives, which are used for each
# (distro, version) combination not excluded in multispec
DISTGEN_MULTI_RULES="
src=src/Dockerfile
dest=Dockerfile;
src=src/Dockerfile
dest=Dockerfile.rhel7;
src=src/Dockerfile
dest=Dockerfile.rhel8;
src=src/Dockerfile
dest=Dockerfile.c9s;
src=src/Dockerfile.fedora
dest=Dockerfile.fedora;
"
# Symbolic links
SYMLINK_RULES="
link_target=root/usr/share/container-scripts/postgresql/README.md
link_name=README.md;
link_target=../test
link_name=test;
link_target=/usr/bin/run-postgresql
link_name=s2i/bin/run
"
# Files to copy
COPY_RULES="
src=src/root/usr/libexec/fix-permissions
dest=root/usr/libexec/fix-permissions
mode=0755;
src=src/content_sets.yml
dest=content_sets.yml;
src=src/root/usr/share/container-scripts/postgresql/openshift-custom-postgresql.conf.template
dest=root/usr/share/container-scripts/postgresql/openshift-custom-postgresql.conf.template;
src=src/root/usr/share/container-scripts/postgresql/scl_enable
dest=root/usr/share/container-scripts/postgresql/scl_enable;
src=src/root/usr/bin/run-postgresql
dest=root/usr/bin/run-postgresql
mode=0755;
src=src/root/usr/bin/run-postgresql-master
dest=root/usr/bin/run-postgresql-master
mode=0755;
src=src/root/usr/bin/container-entrypoint
dest=root/usr/bin/container-entrypoint
mode=0755;
src=src/root/usr/bin/usage
dest=root/usr/bin/usage
mode=0755;
src=src/root/usr/libexec/check-container
dest=root/usr/libexec/check-container
mode=0755;
src=src/root/usr/share/container-scripts/postgresql/start/set_passwords.sh
dest=root/usr/share/container-scripts/postgresql/start/set_passwords.sh;
src=src/s2i/bin/assemble
dest=s2i/bin/assemble
mode=0755;
src=src/s2i/bin/usage
dest=s2i/bin/usage
mode=0755;
"