Skip to content

Instantly share code, notes, and snippets.

@sshymko
Created August 17, 2019 00:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sshymko/5779f9f4c364fbbe4c3c1d634a355908 to your computer and use it in GitHub Desktop.
Save sshymko/5779f9f4c364fbbe4c3c1d634a355908 to your computer and use it in GitHub Desktop.
Docker image of PHP 7.4 with Foreign Function Interface (FFI) support
FROM phpdaily/php:7.4.0-dev
RUN apk add --no-cache --virtual .persistent-deps libffi-dev \
&& docker-php-ext-configure ffi --with-ffi \
&& docker-php-ext-install ffi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment