Kubernetes RabbitMQ operator, forked https://github.com/tekliner/rabbitmq-operator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
342 B

FROM golang:1.13-alpine
RUN apk update
RUN apk add git mercurial
WORKDIR /app/rabbitmq-operator
COPY . .
WORKDIR /app/rabbitmq-operator/cmd/manager
RUN CGO_ENABLED=0 go build -mod=vendor
RUN go install -mod=vendor
FROM alpine:3.10
COPY --from=0 /go/bin/manager /usr/local/bin/rabbitmq-operator
ENTRYPOINT ["/usr/local/bin/entrypoint"]