Redis operator for Kubernetes with HAProxy support
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.
 
 
 
 

17 lines
283 B

FROM golang:1.15
RUN apt-get update
RUN apt-get install -y git mercurial
WORKDIR /app/operator
COPY . .
WORKDIR /app/operator/cmd/manager
RUN CGO_ENABLED=0 go build -mod=vendor
RUN go install -mod=vendor
FROM ubuntu:18.04
COPY --from=0 /go/bin/manager /usr/bin/redis-operator