Skip to content

Commit 9a7198c

Browse files
committed
fix(dockerfile): move configmap-server into path
1 parent 2c94486 commit 9a7198c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ RUN mkdir -p /go/src/github.com/grpc-ecosystem && \
2525

2626
FROM openshift/origin-base
2727

28-
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/initializer /initializer
29-
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/registry-server /registry-server
30-
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/configmap-server /configmap-server
28+
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/initializer /bin/initializer
29+
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/registry-server /bin/registry-server
30+
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/configmap-server /bin/configmap-server
3131
COPY --from=builder /go/bin/grpc_health_probe /bin/grpc_health_probe
3232

3333
# This image doesn't need to run as root user

configmap-registry.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN dep ensure -vendor-only -v && \
2323

2424

2525
FROM scratch
26-
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/configmap-server /configmap-server
26+
COPY --from=builder /go/src/github.com/operator-framework/operator-registry/bin/configmap-server /bin/configmap-server
2727
COPY --from=probe-builder /go/bin/grpc_health_probe /bin/grpc_health_probe
2828
EXPOSE 50051
29-
ENTRYPOINT ["/configmap-server"]
29+
ENTRYPOINT ["/bin/configmap-server"]

0 commit comments

Comments
 (0)