Last active
October 12, 2021 21:04
-
-
Save syntaqx/d597f039449f0f45f0e948ee3f220fa8 to your computer and use it in GitHub Desktop.
WIP PHP Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.3-fpm | |
ENV TZ=America/Denver | |
RUN rm /etc/localtime && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN add-apt-repository ppa:libreoffice/ppa | |
RUN apt-get update && apt-get install -y \ | |
libreoffice \ | |
libpq-dev \ | |
&& docker-php-ext-install pdo pdo_pgsql | |
# Install composer | |
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment