I appear to be missing something when attempting to install Firefox from the Alpine Edge Repository
Firefox (Version 61.0.1-r0) Repo
as distinct from installing
Firefox-ESR (Version 52.8.1-r0) Repo
I perform the necessary repository modification as documented here which causes my repository to look like:
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
Following up with:
apk upgrade --update-cache --available
Works fine and does all the necessary pulls. However, when attempting:
apk add --no-cache firefox
Returns
ERROR: unsatisfiable constraints: firefox (missing): required by: world[firefox]
Which is what I would expect from the non-edge repositories. I'm sure I'm missing something simple and obvious. Suggestions?
For people who are stumbling upon this question, the 1 line answer is
apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing firefox
This will create a single 1-time install of firefox using the test repo of the edge branch.
In order to figure out the right link, navigate to the APK package mirror. and put in a search for Firefox. The branch and repository will be populated and your dockerfiles can be updated accordingly.
Editing of the /etc/apk/repositories
file will also achieve the same effect.
Try with RUN apk add \ firefox-esr
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With