Dockerfile 642 Bytes
Newer Older
Erick Hitter's avatar
Erick Hitter committed
1 2
FROM php:5.6-stretch

Erick Hitter's avatar
Erick Hitter committed
3 4 5 6 7 8 9 10
LABEL maintainer="ethitter"
LABEL version="1.0"

RUN apt-get update \
    && apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

Erick Hitter's avatar
Erick Hitter committed
11 12
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2

Erick Hitter's avatar
Erick Hitter committed
13
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Erick Hitter's avatar
Erick Hitter committed
14 15 16
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer

Erick Hitter's avatar
Erick Hitter committed
17
ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH