forked from scylladb/scylla-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
18 lines (15 loc) · 975 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM quay.io/scylladb/scylla-operator-images:golang-1.22 AS builder
WORKDIR /go/src/github.com/scylladb/scylla-operator
COPY . .
RUN make build --warn-undefined-variables
FROM quay.io/scylladb/scylla-operator-images:base-ubuntu-22.04
LABEL org.opencontainers.image.title="Scylla Operator" \
org.opencontainers.image.description="ScyllaDB Operator for Kubernetes" \
org.opencontainers.image.authors="ScyllaDB Operator Team" \
org.opencontainers.image.source="https://github.com/scylladb/scylla-operator/" \
org.opencontainers.image.documentation="https://operator.docs.scylladb.com" \
org.opencontainers.image.url="https://hub.docker.com/r/scylladb/scylla-operator" \
org.opencontainers.image.vendor="ScyllaDB"
COPY --from=builder /go/src/github.com/scylladb/scylla-operator/scylla-operator /usr/bin/
COPY --from=builder /go/src/github.com/scylladb/scylla-operator/scylla-operator-tests /usr/bin/
ENTRYPOINT ["/usr/bin/scylla-operator"]