add acpu and imagick (without config)

This commit is contained in:
lookshe 2020-11-24 00:29:40 +01:00
parent bbad38e1ae
commit e52808ec48
3 changed files with 23 additions and 4 deletions

View file

@ -1,12 +1,11 @@
## ToDo
- add imap to configure flags
- add modules
- imagick
- apcu
- add config files
- php.ini
- modules
- imagick
- apcu
- checkinstall --include ?
- correct depencies in .deb files
- checkinstall --provides

View file

@ -29,7 +29,9 @@ RUN apt-get update \
bison \
libgmp-dev \
libtidy-dev \
libgd2-xpm-dev
libgd2-xpm-dev \
libmagickwand-dev \
libmagickcore-dev
RUN wget https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
RUN tar xzf cmake-2.8.12.1.tar.gz
RUN cd cmake-2.8.12.1 \
@ -131,4 +133,20 @@ RUN cd php-7.4.12 \
--with-zlib \
&& make \
&& checkinstall -y --pkgname $PACKAGE_NAME
RUN cd /php-7.4.12/ext \
&& wget https://github.com/Imagick/imagick/archive/3.4.4.tar.gz \
&& tar xzf 3.4.4.tar.gz \
&& cd imagick-3.4.4 \
&& $MAIN_PREFIX/bin/phpize \
&& ./configure --with-php-config=$MAIN_PREFIX/bin/php-config \
&& make \
&& checkinstall -y -pkgname $PACKAGE_NAME-imagick
RUN cd /php-7.4.12/ext \
&& wget https://github.com/krakjoe/apcu/archive/v5.1.19.tar.gz \
&& tar xzf v5.1.19.tar.gz \
&& cd apcu-5.1.19 \
&& $MAIN_PREFIX/bin/phpize \
&& ./configure --with-php-config=$MAIN_PREFIX/bin/php-config \
&& make \
&& checkinstall -y -pkgname $PACKAGE_NAME-apcu

View file

@ -8,4 +8,6 @@ COPY --from=build-stage /oniguruma-6.9.6/php-7.4.12-opt-oniguruma_6.9.6-1_amd64.
COPY --from=build-stage /libgd-2.1.1/php-7.4.12-opt-libgd_2.1.1-1_amd64.deb .
COPY --from=build-stage /libjpeg-turbo-2.0.6/build/php-7.4.12-opt-libjpeg-turbo_1-1_amd64.deb .
COPY --from=build-stage /krb5-1.17.2/src/php-7.4.12-opt-krb5_1-1_amd64.deb .
COPY --from=build-stage /php-7.4.12/ext/imagick-3.4.4/php-7.4.12-opt-imagick_3.4.4-1_amd64.deb .
COPY --from=build-stage /php-7.4.12/ext/apcu-5.1.19/php-7.4.12-opt-apcu_5.1.19-1_amd64.deb .