File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
test/proxy/redis-cluster-proxy Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11# https://hub.docker.com/_/debian
2- FROM debian:11 as builder
3-
4- RUN apt-get update
5- RUN apt-get install -y --no-install-recommends build-essential wget unzip ca-certificates
6-
72# https://github.com/RedisLabs/redis-cluster-proxy
3+ FROM debian:12 AS builder
84ARG TAG=1.0-beta2
5+ RUN apt-get update
6+ RUN apt-get install -y --no-install-recommends build-essential wget unzip ca-certificates
97WORKDIR /tmp
108RUN wget -O redis-cluster-proxy.zip "https://github.com/RedisLabs/redis-cluster-proxy/archive/refs/tags/${TAG}.zip"
119RUN unzip redis-cluster-proxy.zip
1210WORKDIR /tmp/redis-cluster-proxy-${TAG}
1311RUN make install REDIS_CLUSTER_PROXY_LDFLAGS=-zmuldefs
1412
1513# https://github.com/GoogleContainerTools/distroless
16- FROM gcr.io/distroless/cc-debian11:debug
14+ FROM gcr.io/distroless/cc-debian12:nonroot
1715COPY --from=builder /usr/local/bin/redis-cluster-proxy /usr/local/bin/redis-cluster-proxy
16+ USER nonroot
1817ENTRYPOINT ["/usr/local/bin/redis-cluster-proxy" ]
You can’t perform that action at this time.
0 commit comments