Closed sergsadovyi closed 8 years ago
Looks like you can still use the APK Proxy app, so long as you have installed the public key which was used to sign the package:
/ # apk --no-cache add ca-certificates openssl
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/1) Installing openssl (1.0.2h-r1)
Executing busybox-1.24.2-r9.trigger
Executing ca-certificates-20160104-r4.trigger
OK: 6 MiB in 13 packages
/ # wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub
/ # apk --no-cache -X http://apkproxy.heroku.com/sgerrand/alpine-pkg-glibc add glibc
fetch http://apkproxy.heroku.com/sgerrand/alpine-pkg-glibc/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/1) Installing glibc (2.23-r3)
OK: 10 MiB in 14 packages
Let me know if you still have any issues.
📝 Note that the following still works (the hostname in the URL has changed slightly):
FROM alpine:3.8
RUN wget -P /etc/apk/keys/ https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
RUN apk --no-cache --no-progress --repository https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-glibc add glibc
Hi. Thank you for a great work. Can you pls return to live Apk proxy script? It was very easy install by one command:
apk --no-cache -X http://apkproxy.heroku.com/andyshinn/alpine-pkg-glibc add glibc