-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running apk commands behind proxy fails #171
Comments
Turned out that |
Where do you put the proxy url? Could you specify file and command format please? |
Our proxy uses port 8080. Could it be that apk does not process the port?
Note that BusyBox's wget does not work either. Contrary to apk, it does not time out, but fails with error:
Again, wget (The real one though) works in all other distributions I've used. |
it seems there is a problem with newest wget https request over a I worked around this bug by using sed -i.bak 's+https://+http://+' /etc/apk/repositories |
FROM abdennour/alpine:3.14-ssl
RUN openssl x509 -inform der -in COMPANY.der -out /usr/local/share/ca-certificates/company-cert.crt && \
cat /usr/local/share/ca-certificates/company-cert.crt >> /etc/ssl/certs/ca-certificates.crt && \
update-ca-certificates
EXPLAINED!
But this requires to have
|
apparently, apk cares greatly about the protocol. Not only you have to specify it, but you also must specify a correct one. What I mean by that is that
mind the httpS:// |
Environment variables are set up properly. But running
apk update
for instance just hangs. It looks like an upstream issue. If so, point where to file it.The text was updated successfully, but these errors were encountered: