Skip to content

Commit

Permalink
change ot operator branch
Browse files Browse the repository at this point in the history
  • Loading branch information
drivebyer committed Dec 4, 2023
1 parent bc43a78 commit f5f9513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arm64/images/ot-redis-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit f5f9513

Please sign in to comment.