From d1a80ba9b7fd3735c47e724d469413b7565cabb7 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Wed, 1 Dec 2021 02:26:44 +0000 Subject: [PATCH] ci/cd: keep docker and stacker builds files consistent Signed-off-by: Ramkumar Chinchani --- Dockerfile | 4 ++-- Dockerfile-conformance | 4 ++-- Dockerfile-minimal | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5296ce73..1e9a368d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,9 @@ RUN echo '{\n\ # --- FROM scratch AS final COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt -COPY --from=builder /go/src/github.com/anuvu/zot/bin/zot /zot +COPY --from=builder /go/src/github.com/anuvu/zot/bin/zot /usr/bin/zot COPY --from=builder /go/src/github.com/anuvu/zot/config.json /etc/zot/config.json -ENTRYPOINT ["/zot"] +ENTRYPOINT ["/usr/bin/zot"] EXPOSE 5000 VOLUME ["/var/lib/registry"] CMD ["serve", "/etc/zot/config.json"] diff --git a/Dockerfile-conformance b/Dockerfile-conformance index 71b5dba3..77db89c7 100644 --- a/Dockerfile-conformance +++ b/Dockerfile-conformance @@ -21,9 +21,9 @@ storage:\n\ # --- FROM scratch AS final COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt -COPY --from=builder /go/src/github.com/anuvu/zot/bin/zot /zot +COPY --from=builder /go/src/github.com/anuvu/zot/bin/zot /usr/bin/zot COPY --from=builder /go/src/github.com/anuvu/zot/config.yml /etc/zot/config.yml -ENTRYPOINT ["/zot"] +ENTRYPOINT ["/usr/bin/zot"] EXPOSE 5000 VOLUME ["/var/lib/registry"] CMD ["serve", "/etc/zot/config.yml"] diff --git a/Dockerfile-minimal b/Dockerfile-minimal index 69627fa8..c29929b8 100644 --- a/Dockerfile-minimal +++ b/Dockerfile-minimal @@ -24,9 +24,9 @@ RUN echo '{\n\ # --- FROM scratch AS final COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt -COPY --from=builder /go/src/github.com/anuvu/zot/bin/zot-minimal /zot +COPY --from=builder /go/src/github.com/anuvu/zot/bin/zot-minimal /usr/bin/zot COPY --from=builder /go/src/github.com/anuvu/zot/config.json /etc/zot/config.json -ENTRYPOINT ["/zot"] +ENTRYPOINT ["/usr/bin/zot"] EXPOSE 5000 VOLUME ["/var/lib/registry"] CMD ["serve", "/etc/zot/config.json"]