Skip to content

Instantly share code, notes, and snippets.

@tofbabs
Forked from tristanlins/iconv.docker
Created May 28, 2018 09:03
Show Gist options
  • Select an option

  • Save tofbabs/d6a8c218162adc883c1c463994c31f61 to your computer and use it in GitHub Desktop.

Select an option

Save tofbabs/d6a8c218162adc883c1c463994c31f61 to your computer and use it in GitHub Desktop.

Revisions

  1. @tristanlins tristanlins created this gist Oct 10, 2015.
    14 changes: 14 additions & 0 deletions iconv.docker
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    FROM php:5.6-cli

    RUN apt-get update \
    && apt-get install -y \
    libfreetype6-dev \
    && rm -rf /var/lib/apt/lists/* \
    && docker-php-ext-install iconv \
    && apt-get remove -y \
    libfreetype6-dev \
    && apt-get install -y \
    libfreetype6 \
    && apt-get autoremove -y

    CMD ["php"]
    15 changes: 15 additions & 0 deletions imagick.docker
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    FROM php:5.6-cli

    RUN apt-get update \
    && apt-get install -y \
    libmagickwand-dev \
    && rm -rf /var/lib/apt/lists/* \
    && pecl install imagick-beta \
    && echo "extension=imagick.so" > /usr/local/etc/php/conf.d/ext-imagick.ini \
    && apt-get remove -y \
    libmagickwand-dev \
    && apt-get install -y \
    libmagickwand-6.q16-2 \
    && apt-get autoremove -y

    CMD ["php"]
    15 changes: 15 additions & 0 deletions intl.docker
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    FROM php:5.6-cli

    RUN apt-get update \
    && apt-get install -y \
    libicu-dev \
    && rm -rf /var/lib/apt/lists/* \
    && docker-php-ext-install intl \
    && apt-get remove -y \
    libicu-dev \
    && apt-get install -y \
    libicu52 \
    libltdl7 \
    && apt-get autoremove -y

    CMD ["php"]
    14 changes: 14 additions & 0 deletions mcrypt.docker
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    FROM php:5.6-cli

    RUN apt-get update \
    && apt-get install -y \
    libmcrypt-dev \
    && rm -rf /var/lib/apt/lists/* \
    && docker-php-ext-install mcrypt \
    && apt-get remove -y \
    libmcrypt-dev \
    && apt-get install -y \
    libmcrypt4 \
    && apt-get autoremove -y

    CMD ["php"]
    16 changes: 16 additions & 0 deletions memcached.docker
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    FROM php:5.6-cli

    RUN apt-get update \
    && apt-get install -y \
    libmemcached-dev \
    && rm -rf /var/lib/apt/lists/* \
    && pecl install memcached \
    && echo "extension=memcached.so" > /usr/local/etc/php/conf.d/ext-memcached.ini \
    && apt-get remove -y \
    libmemcached-dev \
    && apt-get install -y \
    libmemcached11 \
    libmemcachedutil2 \
    && apt-get autoremove -y

    CMD ["php"]
    14 changes: 14 additions & 0 deletions pdo_pgsql.docker
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    FROM php:5.6-cli

    RUN apt-get update \
    && apt-get install -y \
    postgresql-server-dev-9.4 \
    && rm -rf /var/lib/apt/lists/* \
    && docker-php-ext-install pdo_pgsql \
    && apt-get remove -y \
    postgresql-server-dev-9.4 \
    && apt-get install -y \
    libpq5 \
    && apt-get autoremove -y

    CMD ["php"]
    14 changes: 14 additions & 0 deletions zip.docker
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    FROM php:5.6-cli

    RUN apt-get update \
    && apt-get install -y \
    zlib1g-dev \
    && rm -rf /var/lib/apt/lists/* \
    && docker-php-ext-install zip \
    && apt-get remove -y \
    zlib1g-dev \
    && apt-get install -y \
    zlib1g \
    && apt-get autoremove -y

    CMD ["php"]