File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ ARG PHP_VERSION
22FROM bref/build-php-$PHP_VERSION:1.7.14 AS ext
33
44ENV LD_LIBRARY_PATH=/usr/lib:/usr/lib64:$LD_LIBRARY_PATH
5-
65RUN yum install -y gpgme-devel
76
87RUN pecl install gnupg
98RUN cp `php-config --extension-dir`/gnupg.so /tmp/gnupg.so
109RUN echo 'extension=/opt/bref-extra/gnupg.so' > /tmp/ext.ini
1110
12- # Build the final image with just the files we need
1311FROM scratch
1412
15- # Copy things we installed to the final image
13+ COPY --from=ext /usr/lib64/libgpgme.so.11.8.1 /opt/bref/lib64/libgpgme.so.11
14+ COPY --from=ext /usr/lib64/libassuan.so.0.4.0 /opt/bref/lib64/libassuan.so.0
15+ COPY --from=ext /usr/lib64/libgcrypt.so.11.8.2 /opt/bref/lib64/libgcrypt.so.11
1616
1717COPY --from=ext /tmp/gnupg.so /opt/bref-extra/gnupg.so
1818COPY --from=ext /tmp/ext.ini /opt/bref/etc/php/conf.d/ext-gnupg.ini
You can’t perform that action at this time.
0 commit comments