小编Lip*_*sky的帖子

错误:http://dl-4.alpinelinux.org/alpine/edge/testing:不受信任的签名

我对此很陌生,但我继承了一个项目,其中运行时构建是使用 dockerfile 和如下命令创建的:

# Build runtime image

FROM microsoft/dotnet:2.2-aspnetcore-runtime-alpine

RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories;

RUN apk update && apk add libgdiplus

RUN apk add --no-cache icu-libs
Run Code Online (Sandbox Code Playgroud)

gitlab 管道显示了这一点:

Step 15/20 : RUN apk update && apk add libgdiplus

96 ---> Running in 95f8ebccb602

97fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz

98fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz

99fetch http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

100ERROR: http://dl-4.alpinelinux.org/alpine/edge/testing: UNTRUSTED signature

101WARNING: Ignoring APKINDEX.24c95890.tar.gz: No such file or directory

102v3.10.9-43-g3feb769ea3 [http://dl-cdn.alpinelinux.org/alpine/v3.10/main]

103v3.10.6-10-ged79a86de3 [http://dl-cdn.alpinelinux.org/alpine/v3.10/community]

1041 errors; 10355 distinct packages available

105Service 'api' failed to build: The command '/bin/sh -c …
Run Code Online (Sandbox Code Playgroud)

pipeline gitlab docker alpine-linux

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

alpine-linux ×1

docker ×1

gitlab ×1

pipeline ×1