2

I am running a linux instance on a docker container. It is a debian:jessie with a php 5.6.

I want to install bcmath module, but I have no success.

Does someone know how o do that?

root@1419c032c35f:/etc/php5/fpm# apt install php5.6-bcmath
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package php5.6-bcmath
E: Couldn't find any package by regex 'php5.6-bcmath'
IgorAlves
  • 5,086
  • 10
  • 52
  • 83

1 Answers1

12

Simply create a Dockerfile that will build from the image you want (the one linked above) and add the line

RUN docker-php-ext-install bcmath
twoTimesAgnew
  • 1,376
  • 1
  • 11
  • 15