Skip to content

Instantly share code, notes, and snippets.

@lfalmeida
Created May 29, 2018 14:30
Show Gist options
  • Save lfalmeida/02d6793f720caea8422f95ab6caed844 to your computer and use it in GitHub Desktop.
Save lfalmeida/02d6793f720caea8422f95ab6caed844 to your computer and use it in GitHub Desktop.
FROM php:5.6-fpm
RUN echo America/Sao_Paulo | tee /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata
RUN apt-get update -y && apt-get install -y libpng-dev
RUN buildDeps="libpq-dev libzip-dev libicu-dev wget git python-pip python-psycopg2 gnupg" && \
apt-get update && \
apt-get install -y $buildDeps --no-install-recommends && \
#apt-get install -y postgresql-client && \
docker-php-ext-install \
pdo \
pdo_pgsql \
pgsql \
sockets \
intl \
zip \
gd
RUN pecl install -o -f redis \
&& rm -rf /tmp/pear \
&& echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
RUN python -m pip install --upgrade pip setuptools wheel \
&& pip install redis
RUN pip install redis
RUN pip install xlrd
RUN pip install openpyxl
RUN pip install pyexcel
RUN pip install pyexcel-xlsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment