FakeRajbhx / alpine-term

193 stars 22 forks source link

apk update is bad #4

Open yx10010 opened 1 year ago

yx10010 commented 1 year ago

Thank you for your efforts, there is a problem in alpine, apk update error "root@alpine-term ~ # apk update fetch http://mirrors.aliyun.com/alpine/edge/main/x86_64/APKINDEX.tar.gz ERROR: http://mirrors.aliyun.com/alpine/edge/main: UNTRUSTED signature WARNING: Ignoring http://mirrors.aliyun.com/alpine/edge/main: UNTRUSTED signature fetch http://mirrors.aliyun.com/alpine/edge/community/x86_64/APKINDEX.tar.gz ERROR: http://mirrors.aliyun.com/alpine/edge/community: UNTRUSTED signature WARNING: Ignoring http://mirrors.aliyun.com/alpine/edge/community: UNTRUSTED signature 2 errors; 519 distinct packages available

LuisMMMTS commented 1 year ago

This was actually an Alpine issue. You can check here stackOverflow Summing up you can run this and you're good

RUN apk add -X https://nl.alpinelinux.org/alpine/edge/main -u alpine-keys --allow-untrusted

RUN echo "@edge http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN apk update