From 2e1d177e470d07e6f4b45b08b8781607c4ca8451 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 4 Dec 2019 16:15:49 -0500 Subject: [PATCH] Will it build? --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index de49c07..cdcdc2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,5 @@ FROM php:7.4-cli-alpine -RUN apk add --no-cache libffi && docker-php-ext-install ffi \ No newline at end of file + +RUN apk add --no-cache --virtual .persistent-deps libffi-dev \ + && docker-php-ext-configure ffi --with-ffi \ + && docker-php-ext-install ffi