Skip to content

Commit

Permalink
dockerfile: fix binary path
Browse files Browse the repository at this point in the history
Sidecar copied symbolic link into Scylla image which
pointed to not existing binary in root dir.
  • Loading branch information
zimnx committed Feb 11, 2021
1 parent 57f8f4e commit 9a21178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ FROM docker.io/library/ubuntu:20.04
SHELL ["/bin/bash", "-euEo", "pipefail", "-c"]
# sidecar-injection container and existing installations use binary from root,
# we have to keep it there until we figure out how to properly upgrade them.
COPY --from=builder /go/src/github.com/scylladb/scylla-operator/scylla-operator /
RUN ln -s /scylla-operator /usr/bin/scylla-operator
COPY --from=builder /go/src/github.com/scylladb/scylla-operator/scylla-operator /usr/bin/
RUN ln -s /usr/bin/scylla-operator /scylla-operator
ENTRYPOINT ["/usr/bin/scylla-operator"]

0 comments on commit 9a21178

Please sign in to comment.