Skip to content

Commit

Permalink
chaning FBC dockefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dchourasia committed Oct 21, 2024
1 parent 836859b commit a5c0bd3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions catalog/v4.13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
FROM registry.redhat.io/openshift4/ose-operator-registry:v4.13
USER root
# Configure the entrypoint and command
# ENTRYPOINT ["/bin/opm"]
# CMD ["serve", "/configs", "--cache-dir=/tmp/cache"]
ENTRYPOINT ["tail", "-f", "/dev/null"]
ENTRYPOINT ["/bin/opm"]
CMD ["serve", "/configs", "--cache-dir=/tmp/cache"]
# Copy declarative config root into image at /configs and pre-populate serve cache
ADD rhods-operator /configs/rhods-operator
RUN ["/bin/opm", "serve", "/configs", "--cache-dir=/tmp/cache", "--cache-only"]

# Set DC-specific label for the location of the DC root directory
# in the image
LABEL operators.operatorframework.io.index.configs.v1=/configs
LABEL operators.operatorframework.io.index.configs.v1=/configs

0 comments on commit a5c0bd3

Please sign in to comment.