File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,24 @@ RUN mkdir -p /go/src/github.com/grpc-ecosystem && \
25
25
26
26
FROM openshift/origin-base
27
27
28
+ RUN mkdir /registry
29
+ WORKDIR /registry
30
+
28
31
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/initializer /bin/initializer
29
32
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/registry-server /bin/registry-server
30
33
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/configmap-server /bin/configmap-server
31
34
COPY --from=builder /go/bin/grpc_health_probe /bin/grpc_health_probe
32
35
36
+ RUN chgrp -R 0 /registry && \
37
+ chgrp -R 0 /dev && \
38
+ chmod -R g+rwx /registry && \
39
+ chmod -R g+rwx /dev
40
+
33
41
# This image doesn't need to run as root user
34
42
USER 1001
35
43
36
44
EXPOSE 50051
37
45
38
46
LABEL io.k8s.display-name="OpenShift Operator Registry" \
39
- io.k8s.description="This is a component of OpenShift Operator Lifecycle Manager and is the base for operator catalog API containers." \
40
- maintainer=
"Odin Team <[email protected] >"
47
+ io.k8s.description="This is a component of OpenShift Operator Lifecycle Manager and is the base for operator catalog API containers." \
48
+ maintainer=
"Odin Team <[email protected] >"
You can’t perform that action at this time.
0 commit comments