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.
 
 
 
 

18 lines
283 B

  1. FROM golang:1.15
  2. RUN apt-get update
  3. RUN apt-get install -y git mercurial
  4. WORKDIR /app/operator
  5. COPY . .
  6. WORKDIR /app/operator/cmd/manager
  7. RUN CGO_ENABLED=0 go build -mod=vendor
  8. RUN go install -mod=vendor
  9. FROM ubuntu:18.04
  10. COPY --from=0 /go/bin/manager /usr/bin/redis-operator