From b54dcb31c9429964f5da72134584fc2d990ccd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=B0=B8=E4=BA=AE?= Date: Tue, 10 Jan 2023 09:50:00 +0800 Subject: [PATCH] Update .beagle.yml, .beagle/dockerfile files --- .beagle.yml | 4 ++-- .beagle/dockerfile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.beagle.yml b/.beagle.yml index 889e1d9..305cfeb 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -23,7 +23,7 @@ steps: path: /var/run/docker.sock settings: dockerfile: .beagle/dockerfile - base: registry.cn-qingdao.aliyuncs.com/wod-k8s/ubuntu:20.04-amd64 + base: registry.cn-qingdao.aliyuncs.com/wod/alpine:v3.17.0-amd64 registry: registry.cn-qingdao.aliyuncs.com repo: wod/rcache tag: 7.0.7-amd64 @@ -41,7 +41,7 @@ steps: path: /var/run/docker.sock settings: dockerfile: .beagle/dockerfile - base: registry.cn-qingdao.aliyuncs.com/wod-k8s/ubuntu:20.04-arm64 + base: registry.cn-qingdao.aliyuncs.com/wod/alpine:v3.17.0-arm64 registry: registry.cn-qingdao.aliyuncs.com repo: wod/rcache tag: 7.0.7-arm64 diff --git a/.beagle/dockerfile b/.beagle/dockerfile index a7c7491..288873f 100644 --- a/.beagle/dockerfile +++ b/.beagle/dockerfile @@ -11,7 +11,8 @@ ARG REDIS_DOWNLOAD_URL="http://download.redis.io/" ARG REDIS_VERSION="stable" -RUN apk add --no-cache su-exec tzdata make curl build-base linux-headers bash openssl-dev +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories &&\ + apk add --no-cache su-exec tzdata make curl build-base linux-headers bash openssl-dev RUN curl -fL -Lo /tmp/redis-${REDIS_VERSION}.tar.gz https://dl.wodcloud.com/lyl/redis-stable/ && \ cd /tmp && \ -- 2.26.0