I have Dockerfile with a few commands:
FROM ubuntu
RUN apt-get install -y nginx php5 php5-fpm
ADD . /code
When I run docker build . command I get next error:
E: Package 'php5-fpm' has no installation candidate
INFO[0006] The command [/bin/sh -c apt-get install nginx php5 php5-fpm] returned a non-zero code: 100
How can I start Nginx with php-fpm based on Ubuntu image?
apt-get updatebeforeapt-get install [...]does not solve the problem ?