-
Notifications
You must be signed in to change notification settings - Fork 4
/
assets_s2i_builder.tar
66 lines (46 loc) · 10 KB
/
assets_s2i_builder.tar
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
builder/ 000755 000765 000024 00000000000 13245141742 013002 5 ustar 00sbylo staff 000000 000000 builder/Dockerfile 000644 000765 000024 00000001243 13245141742 014774 0 ustar 00sbylo staff 000000 000000 # This Dockerfile creates a simplified s2i builder image
FROM openshift/base-centos7
# Set labels, used by OpenShift, to identify and describe the builder image
LABEL io.k8s.description="Simple s2i builder example, used to build the simple 'cat-runtime'." \
io.k8s.display-name="Simple s2i builder example" \
io.openshift.s2i.scripts-url="image:///usr/libexec/s2i" \
io.openshift.tags="builder"
# Copy the example S2I scripts to the expected location
COPY ./s2i/ /usr/libexec/s2i
# Set the default user for the container to run as
USER 1001
# Set the default CMD to print the usage of the image, if somebody runs "docker run"
CMD /usr/libexec/s2i/usage