Sha256: 5a354faff204bb2d1b3bef8ee0e6af0161e9c9321ae465f0c4b397894b067a8d

Contents?: true

Size: 803 Bytes

Versions: 1

Compression:

Stored size: 803 Bytes

Contents

FROM php:<%= @env[:base][:php_version][:value] %>-fpm-alpine

WORKDIR /var/www/html

RUN apk add --update autoconf \
  build-base \
  freetype-dev \
  imagemagick6 \
  libjpeg-turbo-dev \
  libpng-dev \
  libpq \
  libzip-dev \
  pkgconfig \
  zlib-dev \
  zlib

RUN apk add --update \
  postgresql-dev
#RUN apk add --update \
#  postgresql-dev \
#  sqlite-dev


RUN pecl install -o -f redis

RUN docker-php-ext-configure gd
RUN docker-php-ext-install bcmath \
  exif \
  pcntl  \
  sockets \
  zip

RUN docker-php-ext-install pgsql \
  pdo_pgsql

# RUN docker-php-ext-install pdo_mysql

RUN docker-php-ext-enable redis

RUN link /usr/local/bin/php /usr/bin/php

RUN echo "php_admin_value[memory_limit] = 2G" >> /usr/local/etc/php-fpm.d/www.conf
RUN echo "memory_limit=2G" >> /usr/local/etc/php/php.ini

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roro-0.3.33 lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker/php.dockerfile.tt