Last active
November 15, 2018 20:20
-
-
Save kniziol/5ce58f8ed828b6ab5a2dff68dd2502ea to your computer and use it in GitHub Desktop.
Simple Dockerfile PHP 7.2 CLI
This file contains 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.2-cli | |
MAINTAINER Krzysztof Nizioł <krzysztof@niziol.me> | |
# | |
# Tools & libraries | |
# | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
vim \ | |
git \ | |
unzip \ | |
libicu-dev \ | |
&& apt-get clean \ | |
&& rm -rf \ | |
/var/lib/apt/lists/* \ | |
/tmp/* \ | |
/var/tmp/* | |
# | |
# PHP extensions | |
# | |
RUN docker-php-ext-install \ | |
intl \ | |
mbstring | |
WORKDIR /project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment