Missing restrictions when installing packages on Alpine docker

I am creating a ruby:2.3-alpine based docker image. I need to install a couple packages for my rails application to work properly. Unfortunately, the following packages do not exist in alpine repositories.

How 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] 

Installation packages:

  • libav tools
  • xfonts base
  • xfonts-75dpi
  • Iceweasel
+5
source share
1 answer

As of June 2016, "firefox-esr" is replacing Iceweasel.

Here's how to install it in an Alpine Docker container and run it to make sure it is installed correctly:

 FROM ruby:2.3-alpine RUN apk add --no-cache firefox-esr RUN firefox --version 

You will also need a virtual display (framebuffer) such as xvfb. See This for more information => https://github.com/rickypc/docker-python-firefox-xvfb/blob/master/Dockerfile

+1
source

Source: https://habr.com/ru/post/1243414/


All Articles