I'm build a docker image based on ruby:2.3-alpine
. I need to install couple of packages for my rails application to run normally. Unfortunately the following packages does not exists on alpine repositories.
What's the way to install them?
$ uname -a
Linux 50642453afd5 4.1.17-boot2docker #1 SMP Thu Feb 11 08:12:31 UTC 2016 x86_64 Linux
$ apk add iceweasel
ERROR: unsatisfiable constraints:
iceweasel (missing):
required by: world[iceweasel]
Packages to install:
As of June, 2016 "firefox-esr" replaces Iceweasel.
Here's how to install it in an Alpine Docker container, and to run it to verify it's installed correctly:
FROM ruby:2.3-alpine
RUN apk add --no-cache firefox-esr
RUN firefox --version
You'll probably also need a virtual display (framebuffer) like xvfb. See this for more info => https://github.com/rickypc/docker-python-firefox-xvfb/blob/master/Dockerfile
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