Skip to content

Instantly share code, notes, and snippets.

@zackbyte-dev
Forked from guibranco/Dockerfile
Created February 10, 2024 22:15
Show Gist options
  • Save zackbyte-dev/bea3009cbeb0061dffb8be7b7f5a4133 to your computer and use it in GitHub Desktop.
Save zackbyte-dev/bea3009cbeb0061dffb8be7b7f5a4133 to your computer and use it in GitHub Desktop.

Revisions

  1. @guibranco guibranco revised this gist Apr 21, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,14 @@
    FROM php:7.4-apache

    RUN apt-get update
    RUN apt-get install --yes --force-yes cron g++ gettext libicu-dev openssl libc-client-dev libkrb5-dev libxml2-dev libfreetype6-dev libgd-dev libmcrypt-dev bzip2 libbz2-dev libtidy-dev libcurl4-openssl-dev libz-dev libmemcached-dev libxslt-dev
    RUN apt-get install --yes --force-yes cron g++ gettext libicu-dev openssl libc-client-dev libkrb5-dev libxml2-dev libfreetype6-dev libgd-dev libmcrypt-dev bzip2 libbz2-dev libtidy-dev libcurl4-openssl-dev libz-dev libmemcached-dev libxslt-dev

    RUN a2enmod rewrite

    RUN docker-php-ext-install mysqli
    RUN docker-php-ext-enable mysqli

    RUN docker-php-ext-configure gd --with-freetype=/usr --with-jpeg=/usr --with-png=/usr
    RUN docker-php-ext-configure gd --with-freetype=/usr --with-jpeg=/usr
    RUN docker-php-ext-install gd

    COPY ./ /var/www/html/
  2. @guibranco guibranco revised this gist Apr 21, 2021. No changes.
  3. @guibranco guibranco created this gist Apr 21, 2021.
    14 changes: 14 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    FROM php:7.4-apache

    RUN apt-get update
    RUN apt-get install --yes --force-yes cron g++ gettext libicu-dev openssl libc-client-dev libkrb5-dev libxml2-dev libfreetype6-dev libgd-dev libmcrypt-dev bzip2 libbz2-dev libtidy-dev libcurl4-openssl-dev libz-dev libmemcached-dev libxslt-dev

    RUN a2enmod rewrite

    RUN docker-php-ext-install mysqli
    RUN docker-php-ext-enable mysqli

    RUN docker-php-ext-configure gd --with-freetype=/usr --with-jpeg=/usr --with-png=/usr
    RUN docker-php-ext-install gd

    COPY ./ /var/www/html/