Unsatisfiable constraints when installing packages on docker alpine

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?

  • Where can I get the newest “Setting Up a Dev Environment” for Docker?
  • Docker - Application source code updates
  • Status 405 - docker - artifactory
  • docker run git checkout doesn't fetch changes in the branch?
  • Set up swarm mode Docker Swarm using Vagrant
  • Docker-compose extra_hosts on Mac
  • $ 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:

    • libav-tools
    • xfonts-base
    • xfonts-75dpi
    • iceweasel

  • How to set bash aliases for docker containers in Dockerfile?
  • Syslog driver in Logstash docker image causing port “timed out” error
  • Modifying a Docker container's ENTRYPOINT to run a script before the CMD
  • How to use forever within a Docker container
  • How to use stack image container?
  • Cannot connect to the Docker daemon. Debian 8 Jessie
  • One Solution collect form web for “Unsatisfiable constraints when installing packages on docker alpine”

    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

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.