Skip to content

Instantly share code, notes, and snippets.

@hyperized
Created July 2, 2019 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyperized/d9482860224562cb415e37ddaec07209 to your computer and use it in GitHub Desktop.
Save hyperized/d9482860224562cb415e37ddaec07209 to your computer and use it in GitHub Desktop.
FROM php:7.2-fpm-alpine
LABEL maintainer="Gerben Geijteman <gerben@hyperized.net>"
LABEL description="My Laravel base image with Redis support"
RUN apk --update add --virtual build-dependencies autoconf build-base \
&& docker-php-ext-install bcmath \
&& docker-php-ext-install pdo_mysql \
&& pecl install redis-4.3.0 \
&& docker-php-ext-enable redis \
&& apk del build-dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment