Skip to content

Instantly share code, notes, and snippets.

@ansargondal
Created May 27, 2019 06:19
Show Gist options
  • Save ansargondal/0227288bdabba74352cbf2e9af31c42c to your computer and use it in GitHub Desktop.
Save ansargondal/0227288bdabba74352cbf2e9af31c42c to your computer and use it in GitHub Desktop.
FROM php:7.1-fpm
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
RUN apt-get update && apt-get upgrade && apt-get install -y libmcrypt-dev \
&& docker-php-ext-install mcrypt pdo_mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment