Commit c8feb3e4 authored by 罗永亮's avatar 罗永亮

Update .beagle/dockerfile

parent da742ad8
Pipeline #91729 failed with stage
FROM alpine:3.15 as builder FROM registry.cn-qingdao.aliyuncs.com/wod/alpine:v3.17.0-amd64 as builder
ARG REDIS_VERSION="stable" ARG REDIS_VERSION="stable"
...@@ -13,13 +13,14 @@ RUN curl -fL -Lo /tmp/redis-${REDIS_VERSION}.tar.gz https://dl.wodcloud.com/lyl/ ...@@ -13,13 +13,14 @@ RUN curl -fL -Lo /tmp/redis-${REDIS_VERSION}.tar.gz https://dl.wodcloud.com/lyl/
make && \ make && \
make install BUILD_TLS=yes make install BUILD_TLS=yes
FROM alpine:3.15 FROM registry.cn-qingdao.aliyuncs.com/wod/alpine:v3.17.0-arm64
COPY --from=builder /usr/local/bin/rcache-server /usr/local/bin/rcache-server COPY --from=builder /usr/local/bin/rcache-server /usr/local/bin/rcache-server
COPY --from=builder /usr/local/bin/rcache-cli /usr/local/bin/rcache-cli COPY --from=builder /usr/local/bin/rcache-cli /usr/local/bin/rcache-cli
RUN addgroup -S -g 1000 rcache && adduser -S -G rcache -u 1000 rcache && \ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories &&\
addgroup -S -g 1000 rcache && adduser -S -G rcache -u 1000 rcache && \
apk add --no-cache bash apk add --no-cache bash
COPY rcache.conf /etc/redis/rcache.conf COPY rcache.conf /etc/redis/rcache.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment