Last active
          September 25, 2018 21:16 
        
      - 
      
- 
        Save tinker1987/11aaf763d0039be5e1e6d36fc1d6062e to your computer and use it in GitHub Desktop. 
Revisions
- 
        tinker1987 revised this gist Sep 25, 2018 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,14 +12,14 @@ RUN apt-get update && apt-get -my install \ software-properties-common \ apt-transport-https \ lsb-release \ ca-certificates \ git \ curl \ wget \ libmcrypt-dev \ libreadline-dev \ libicu-dev \ libcurl4-openssl-dev \ libbz2-dev \ libgeoip-dev \ libssl-dev \ 
- 
        tinker1987 created this gist Sep 25, 2018 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,45 @@ ################################################################################ # Base image ################################################################################ FROM php:7.2 ################################################################################ # Build instructions ################################################################################ RUN apt-get update && apt-get -my install \ software-properties-common \ apt-transport-https \ lsb-release \ ca-certificates \ git \ curl \ wget \ libmcrypt-dev \ libreadline-dev \ libicu-dev \ libcurl4-openssl-dev \ libbz2-dev \ libgeoip-dev \ libssl-dev \ libfreetype6-dev RUN docker-php-ext-install -j$(nproc) \ intl \ iconv \ curl \ bcmath \ bz2 \ mysqli \ pdo \ pdo_mysql \ zip RUN yes | pecl install mcrypt-1.0.1 && docker-php-ext-enable mcrypt RUN curl -sS https://getcomposer.org/installer | php && mv ./composer.phar /usr/local/bin/composer RUN mkdir -p /app && chmod -R 777 /app WORKDIR /app