[PATCH compass-ci] modify the origin address for fluentd-base image

error message: ERROR: libcurl-7.67.0-r0: package mentioned in index not found refer to: https://mirrors.huaweicloud.com/alpine Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- container/fluentd-base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/fluentd-base/Dockerfile b/container/fluentd-base/Dockerfile index ef671c2..62f55fd 100644 --- a/container/fluentd-base/Dockerfile +++ b/container/fluentd-base/Dockerfile @@ -5,7 +5,7 @@ FROM alpine:3.11 MAINTAINER Wu Zhende <wuzhende666@163.com> -RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com|g' /etc/apk/repositories +RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|https://mirrors.huaweicloud.com|g' /etc/apk/repositories RUN apk update -- 2.23.0

这个fix是怎么起作用的, 是http/https的改变, 还是因为绕过了http proxy? Thanks, Fengguang On Tue, Sep 29, 2020 at 11:09:43AM +0800, Xiao Shenwei wrote:
error message: ERROR: libcurl-7.67.0-r0: package mentioned in index not found
refer to: https://mirrors.huaweicloud.com/alpine
Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- container/fluentd-base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/fluentd-base/Dockerfile b/container/fluentd-base/Dockerfile index ef671c2..62f55fd 100644 --- a/container/fluentd-base/Dockerfile +++ b/container/fluentd-base/Dockerfile @@ -5,7 +5,7 @@ FROM alpine:3.11
MAINTAINER Wu Zhende <wuzhende666@163.com>
-RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com|g' /etc/apk/repositories +RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|https://mirrors.huaweicloud.com|g' /etc/apk/repositories
RUN apk update
-- 2.23.0

On Tue, Sep 29, 2020 at 01:15:30PM +0800, Wu Fengguang wrote:
这个fix是怎么起作用的, 是http/https的改变, 还是因为绕过了http proxy?
in my mind, use https will load this package from public network, and can't find libcurl-7.67.0-r0 under https://mirrors.huaweicloud.com/alpine/v3.11/main/aarch64, the libcurl version is libcurl-7.67.0-r1. but use http will load libcurl-7.67.0-r0, maybe CACHE's question. it's seemed other container have the same question like crystal-shard. Thanks, Shenwei
Thanks, Fengguang
On Tue, Sep 29, 2020 at 11:09:43AM +0800, Xiao Shenwei wrote:
error message: ERROR: libcurl-7.67.0-r0: package mentioned in index not found
refer to: https://mirrors.huaweicloud.com/alpine
Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- container/fluentd-base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/fluentd-base/Dockerfile b/container/fluentd-base/Dockerfile index ef671c2..62f55fd 100644 --- a/container/fluentd-base/Dockerfile +++ b/container/fluentd-base/Dockerfile @@ -5,7 +5,7 @@ FROM alpine:3.11
MAINTAINER Wu Zhende <wuzhende666@163.com>
-RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com|g' /etc/apk/repositories +RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|https://mirrors.huaweicloud.com|g' /etc/apk/repositories
RUN apk update
-- 2.23.0

Yili, 是不是因为 http proxy 把索引文件也 cache 了, 造成的这个问题? 是否可以不 cache 索引文件? On Tue, Sep 29, 2020 at 02:46:53PM +0800, Xiao Shenwei wrote:
On Tue, Sep 29, 2020 at 01:15:30PM +0800, Wu Fengguang wrote:
这个fix是怎么起作用的, 是http/https的改变, 还是因为绕过了http proxy?
in my mind, use https will load this package from public network, and can't find libcurl-7.67.0-r0 under https://mirrors.huaweicloud.com/alpine/v3.11/main/aarch64, the libcurl version is libcurl-7.67.0-r1.
but use http will load libcurl-7.67.0-r0, maybe CACHE's question.
it's seemed other container have the same question like crystal-shard.
Thanks, Shenwei
Thanks, Fengguang
On Tue, Sep 29, 2020 at 11:09:43AM +0800, Xiao Shenwei wrote:
error message: ERROR: libcurl-7.67.0-r0: package mentioned in index not found
refer to: https://mirrors.huaweicloud.com/alpine
Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- container/fluentd-base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/fluentd-base/Dockerfile b/container/fluentd-base/Dockerfile index ef671c2..62f55fd 100644 --- a/container/fluentd-base/Dockerfile +++ b/container/fluentd-base/Dockerfile @@ -5,7 +5,7 @@ FROM alpine:3.11
MAINTAINER Wu Zhende <wuzhende666@163.com>
-RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com|g' /etc/apk/repositories +RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|https://mirrors.huaweicloud.com|g' /etc/apk/repositories
RUN apk update
-- 2.23.0

title can explain that this patch is about the modification of the apk source. -------- Thanks Yu Chuan On Tue, Sep 29, 2020 at 11:09:43AM +0800, Xiao Shenwei wrote:
error message: ERROR: libcurl-7.67.0-r0: package mentioned in index not found
refer to: https://mirrors.huaweicloud.com/alpine
Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- container/fluentd-base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/fluentd-base/Dockerfile b/container/fluentd-base/Dockerfile index ef671c2..62f55fd 100644 --- a/container/fluentd-base/Dockerfile +++ b/container/fluentd-base/Dockerfile @@ -5,7 +5,7 @@ FROM alpine:3.11
MAINTAINER Wu Zhende <wuzhende666@163.com>
-RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com|g' /etc/apk/repositories +RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|https://mirrors.huaweicloud.com|g' /etc/apk/repositories
RUN apk update
-- 2.23.0

On Tue, Sep 29, 2020 at 01:56:49PM +0800, Yu Chuan wrote:
title can explain that this patch is about the modification of the apk source.
nice ! Thanks, Shenwei
-------- Thanks Yu Chuan
On Tue, Sep 29, 2020 at 11:09:43AM +0800, Xiao Shenwei wrote:
error message: ERROR: libcurl-7.67.0-r0: package mentioned in index not found
refer to: https://mirrors.huaweicloud.com/alpine
Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- container/fluentd-base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/fluentd-base/Dockerfile b/container/fluentd-base/Dockerfile index ef671c2..62f55fd 100644 --- a/container/fluentd-base/Dockerfile +++ b/container/fluentd-base/Dockerfile @@ -5,7 +5,7 @@ FROM alpine:3.11
MAINTAINER Wu Zhende <wuzhende666@163.com>
-RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com|g' /etc/apk/repositories +RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|https://mirrors.huaweicloud.com|g' /etc/apk/repositories
RUN apk update
-- 2.23.0
participants (3)
-
Wu Fengguang
-
Xiao Shenwei
-
Yu Chuan