Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
wget installation does not work on Alpine #73
Steps to reproduce
An error message is returned by wget:
Any thoughts on this?
FYI for others coming across this, adding the above commands to my Dockerfile did not work, I needed to specifically add the
that worked perfectly and my image built with no problems.
For those who arrive here, another solution is simply to use
Example: to install
instead of what's suggested by Composer (that stumbles upon the CA issues on this post):
As of Alpine Linux 3.3 there exists a new --no-cache option for apk. It allows users to install packages with an index that is updated and used on-the-fly and not cached locally:
Update on this;
While that fixed it for https protocol, it caused issues for http protocol. Reinstalling wget on alpine fixed