From b69a760849eb47123807d95e6ebacf046e363a7b Mon Sep 17 00:00:00 2001 From: Joel Smith <joesmith@redhat.com> Date: Fri, 29 May 2020 12:36:35 -0600 Subject: [PATCH] Add /tmp dir to example registry-server image --- upstream-example.Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upstream-example.Dockerfile b/upstream-example.Dockerfile index 83e2df51d..3e4622ee5 100644 --- a/upstream-example.Dockerfile +++ b/upstream-example.Dockerfile @@ -2,11 +2,13 @@ FROM quay.io/operator-framework/upstream-registry-builder as builder COPY manifests manifests RUN /bin/initializer -o ./bundles.db +RUN mkdir /emptydir && chmod 1777 /emptydir FROM scratch COPY --from=builder /build/bundles.db /bundles.db COPY --from=builder /bin/registry-server /registry-server COPY --from=builder /bin/grpc_health_probe /bin/grpc_health_probe +COPY --from=builder /emptydir /tmp EXPOSE 50051 ENTRYPOINT ["/registry-server"] CMD ["--database", "bundles.db"]