forked from sclorg/s2i-python-container
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.sh
108 lines (78 loc) · 2.66 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
106
107
108
# Manifest for Dockerfiles creation
# every dest path will be prefixed by $DESTDIR/$version
# Files containing distgen directives
DISTGEN_RULES="
src=src/cccp.yml
dest=cccp.yml;
src=src/README.md
dest=README.md;
src=src/root/opt/app-root/etc/scl_enable
dest=root/opt/app-root/etc/scl_enable;
src=src/s2i/bin/assemble
dest=s2i/bin/assemble
mode=0755;
src=src/s2i/bin/usage
dest=s2i/bin/usage
mode=0755;
src=src/test/pipenv-test-app/Pipfile
dest=test/pipenv-test-app/Pipfile;
src=src/test/pipenv-test-app/Pipfile.lock
dest=test/pipenv-test-app/Pipfile.lock;
"
# Files containing distgen directives, which are used for each
# (distro, version) combination not excluded in multispec
DISTGEN_MULTI_RULES="
src=src/Dockerfile.template
dest=Dockerfile;
src=src/Dockerfile.template
dest=Dockerfile.rhel7;
src=src/Dockerfile.template
dest=Dockerfile.fedora;
"
# Symbolic links
SYMLINK_RULES="
link_target=../../examples/app-home-test-app
link_name=test/app-home-test-app;
link_target=../../examples/django-test-app
link_name=test/django-test-app;
link_target=../../examples/locale-test-app
link_name=test/locale-test-app;
link_target=../../examples/mod-wsgi-test-app
link_name=test/mod-wsgi-test-app;
link_target=../../examples/npm-virtualenv-uwsgi-test-app
link_name=test/npm-virtualenv-uwsgi-test-app;
link_target=../../examples/numpy-test-app
link_name=test/numpy-test-app;
link_target=../../examples/setup-requirements-test-app
link_name=test/setup-requirements-test-app;
link_target=../../examples/setup-test-app
link_name=test/setup-test-app;
link_target=../../examples/standalone-test-app
link_name=test/standalone-test-app;
link_target=../../test/run
link_name=test/run;
link_target=../../test/run-openshift
link_name=test/run-openshift;
link_target=../../common/test-lib.sh
link_name=test/test-lib.sh;
link_target=../../common/test-lib-openshift.sh
link_name=test/test-lib-openshift.sh;
"
# Files to copy
COPY_RULES="
src=src/content_sets.yml
dest=content_sets.yml;
src=src/root/opt/app-root/etc/generate_container_user
dest=root/opt/app-root/etc/generate_container_user;
src=src/s2i/bin/run
dest=s2i/bin/run
mode=0755;
src=examples/pipenv-test-app/testapp.py
dest=test/pipenv-test-app/testapp.py;
src=examples/pipenv-test-app/setup.py
dest=test/pipenv-test-app/setup.py;
src=examples/pipenv-test-app/.s2i/environment
dest=test/pipenv-test-app/.s2i/environment;
src=examples/pipenv-test-app/.gitignore
dest=test/pipenv-test-app/.gitignore;
"