From f5f951357bea304f4d00b4d5842974e9f76688ee Mon Sep 17 00:00:00 2001 From: drivebyer Date: Mon, 4 Dec 2023 16:54:47 +0800 Subject: [PATCH] change ot operator branch --- arm64/images/ot-redis-operator/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arm64/images/ot-redis-operator/Dockerfile b/arm64/images/ot-redis-operator/Dockerfile index 2fb14ff48..abb6e7c45 100644 --- a/arm64/images/ot-redis-operator/Dockerfile +++ b/arm64/images/ot-redis-operator/Dockerfile @@ -17,9 +17,9 @@ WORKDIR /build #RUN unzip arm64.zip #WORKDIR /build/redis-operator-master #Use path -RUN wget -O arm64.zip https://github.com/ksmartdata/redis-operator/archive/refs/heads/support_node_port.zip +RUN wget -O arm64.zip https://github.com/ksmartdata/redis-operator/archive/refs/heads/ot-operator-1-14-1.zip RUN unzip arm64.zip -WORKDIR /build/redis-operator-support_node_port +WORKDIR /build/redis-operator-ot-operator-1-14-1 RUN go mod tidy -compat=1.17 # Build @@ -29,7 +29,7 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o manager main.go # Refer to https://github.com/GoogleContainerTools/distroless for more details FROM --platform=$TARGETPLATFORM ubuntu:20.04 WORKDIR / -COPY --from=builder /build/redis-operator-support_node_port/manager . +COPY --from=builder /build/redis-operator-ot-operator-1-14-1/manager . USER 65532:65532 ENTRYPOINT ["/manager"]