Docker Community Forums

Share and learn in the Docker community.

Problem building php7.0-gd


(Jreason) #1

Hi,

I’m trying to build the following Dockerfile, however it never installs php7.0-gd?
Where am i going wrong?
I have to manually log into the container after the build and run the following to get it working:

apt-get update
apt-get install -y php7.0-gd
service apache2 reload

Dockerfile:

# Dockerfile
FROM ubuntu:16.04

ARG COMPOSER_CHECKSUM=55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30
ARG COMPOSER_URL=https://raw.githubusercontent.com/composer/getcomposer.org/ba0141a67b9bd1733409b71c28973f7901db201d/web/installer

ENV DEBIAN_FRONTEND=noninteractive
ENV COMPOSER_ALLOW_SUPERUSER=1
ENV PATH=$PATH:vendor/bin

EXPOSE 80
EXPOSE 443
EXPOSE 6603
EXPOSE 8000

RUN apt-get update
RUN apt-get install -y \
        curl \
        imagemagick \
        nano \
        libapache2-mod-php7.0 \
        php7.0 \
        php7.0-common \
        php7.0-curl \
        php7.0-gd \
        php7.0-imagick \
        php7.0-mbstring \
        php7.0-mysql \
        php7.0-simplexml \
        php7.0-zip \
        php-gettext \
        wget

RUN a2enmod rewrite ssl

RUN curl -o installer "$COMPOSER_URL" \
     && echo "$COMPOSER_CHECKSUM *installer" | shasum -c -a 384 \
     && php installer --install-dir=/usr/local/bin --filename=composer \
     && rm -rf /var/lib/apt/lists/*

CMD apachectl -D FOREGROUND

(Sam) #2

what error do you get during docker build?


(Jreason) #3

@sdetweil i dont seem to get any errors, the file build completes


(Sam) #4

well, SOMETHING is not right… I have not yet seen apt-get install succeed AND NOT install something… please show the build log… you MAY have to delete the image to do a fresh build…


(Sam) #5

when i run the build I see

^[[91mE: Unable to locate package php7.0-imagick


(Jreason) #6

@sdetweil i changed php7.0-imagick for php-imagick and re-run
Still not showing GD as being loading when i view https://localhost/test.php ( phpinfo() )

Part of logs below as it will not let me post all of it.

debconf: delaying package configuration, since apt-utils is not installed
Fetched 55.2 MB in 1min 47s (513 kB/s)
(Reading database ... 4768 files and directories currently installed.)
Preparing to unpack .../perl-base_5.22.1-9ubuntu0.2_amd64.deb ...
Unpacking perl-base (5.22.1-9ubuntu0.2) over (5.22.1-9) ...
Setting up perl-base (5.22.1-9ubuntu0.2) ...
Selecting previously unselected package libatm1:amd64.
(Reading database ... 4768 files and directories currently installed.)

....

Selecting previously unselected package php7.0-gd.
Preparing to unpack .../php7.0-gd_7.0.22-0ubuntu0.16.04.1_amd64.deb ...
Unpacking php7.0-gd (7.0.22-0ubuntu0.16.04.1) ...
Selecting previously unselected package php7.0-mbstring.
Preparing to unpack .../php7.0-mbstring_7.0.22-0ubuntu0.16.04.1_amd64.deb ...
Unpacking php7.0-mbstring (7.0.22-0ubuntu0.16.04.1) ...
Selecting previously unselected package php7.0-mysql.
Preparing to unpack .../php7.0-mysql_7.0.22-0ubuntu0.16.04.1_amd64.deb ...
Unpacking php7.0-mysql (7.0.22-0ubuntu0.16.04.1) ...
Selecting previously unselected package php7.0-zip.
Preparing to unpack .../php7.0-zip_7.0.22-0ubuntu0.16.04.1_amd64.deb ...
Unpacking php7.0-zip (7.0.22-0ubuntu0.16.04.1) ...
Selecting previously unselected package rename.
Preparing to unpack .../archives/rename_0.20-4_all.deb ...
Unpacking rename (0.20-4) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.37_all.deb ...
Unpacking ssl-cert (1.0.37) ...
Selecting previously unselected package ttf-dejavu-core.
Preparing to unpack .../ttf-dejavu-core_2.35-1_all.deb ...
Unpacking ttf-dejavu-core (2.35-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Setting up libatm1:amd64 (1:2.5.1-1.5) ...
Setting up libmnl0:amd64 (1.0.3-5) ...
Setting up libgdbm3:amd64 (1.8.3-13.1) ...
Setting up libxau6:amd64 (1:1.0.8-1) ...
Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ...
Setting up libxcb1:amd64 (1.11.1-1ubuntu1) ...
Setting up libx11-data (2:1.6.3-1ubuntu2) ...
Setting up libx11-6:amd64 (2:1.6.3-1ubuntu2) ...
Setting up libxext6:amd64 (2:1.3.3-1) ...
Setting up sgml-base (1.26+nmu4ubuntu1) ...
Setting up perl-modules-5.22 (5.22.1-9ubuntu0.2) ...
Setting up libperl5.22:amd64 (5.22.1-9ubuntu0.2) ...
Setting up perl (5.22.1-9ubuntu0.2) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Setting up mime-support (3.59ubuntu1) ...
Setting up libapr1:amd64 (1.5.2-3) ...
Setting up libexpat1:amd64 (2.1.0-7ubuntu0.16.04.3) ...
Setting up libssl1.0.0:amd64 (1.0.2g-1ubuntu4.10) ...
Setting up libaprutil1:amd64 (1.5.4-1build1) ...
Setting up libsqlite3-0:amd64 (3.11.0-1ubuntu1) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-1build1) ...
Setting up libgmp10:amd64 (2:6.1.0+dfsg-2) ...
Setting up libnettle6:amd64 (3.2-1ubuntu0.16.04.1) ...
Setting up libhogweed4:amd64 (3.2-1ubuntu0.16.04.1) ...
Setting up libidn11:amd64 (1.32-3ubuntu1.2) ...
Setting up libffi6:amd64 (3.2.1-4) ...
Setting up libp11-kit0:amd64 (0.23.2-5~ubuntu16.04.1) ...
Setting up libtasn1-6:amd64 (4.7-3ubuntu0.16.04.2) ...
Setting up libgnutls30:amd64 (3.4.10-4ubuntu1.4) ...
Setting up libroken18-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libasn1-8-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libhcrypto4-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libheimbase1-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libwind0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libhx509-5-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libkrb5-26-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libheimntlm0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libgssapi3-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1.16.04.1) ...
Setting up libsasl2-modules-db:amd64 (2.1.26.dfsg1-14build1) ...
Setting up libsasl2-2:amd64 (2.1.26.dfsg1-14build1) ...
Setting up libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.2) ...
Setting up libaprutil1-ldap:amd64 (1.5.4-1build1) ...
Setting up liblua5.1-0:amd64 (5.1.5-8ubuntu1) ...
Setting up libicu55:amd64 (55.1-7ubuntu0.3) ...
Setting up libxml2:amd64 (2.9.3+dfsg1-1ubuntu0.5) ...
Setting up apache2-bin (2.4.18-2ubuntu3.5) ...
Setting up apache2-utils (2.4.18-2ubuntu3.5) ...
Setting up apache2-data (2.4.18-2ubuntu3.5) ...
Setting up apache2 (2.4.18-2ubuntu3.5) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up fonts-dejavu-core (2.35-1) ...
Setting up ucf (3.0036) ...
Setting up fontconfig-config (2.11.94-0ubuntu1.1) ...
Setting up libpng12-0:amd64 (1.2.54-1ubuntu1) ...
Setting up libfreetype6:amd64 (2.6.1-0.1ubuntu2.3) ...
Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
Setting up fontconfig (2.11.94-0ubuntu1.1) ...
Regenerating fonts cache... done.
Setting up imagemagick-common (8:6.8.9.9-7ubuntu5.9) ...
Setting up libgomp1:amd64 (5.4.0-6ubuntu1~16.04.5) ...
Setting up libfftw3-double3:amd64 (3.3.4-2ubuntu1) ...
Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ...
Setting up liblcms2-2:amd64 (2.6-3ubuntu2) ...
Setting up libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
No schema files found: doing nothing.
Setting up liblqr-1-0:amd64 (0.4.2-2) ...
Setting up libjbig0:amd64 (2.1-3.1) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libltdl7:amd64 (2.4.6-0.1) ...
Setting up libtiff5:amd64 (4.0.6-1ubuntu0.2) ...
Setting up libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.9) ...
Setting up libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.9) ...
Setting up poppler-data (0.4.7-7) ...
Setting up tzdata (2017c-0ubuntu0.16.04) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Fri Jan 12 14:36:30 UTC 2018.
Universal Time is now:  Fri Jan 12 14:36:30 UTC 2018.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libmagic1:amd64 (1:5.25-2ubuntu1) ...
Setting up file (1:5.25-2ubuntu1) ...
Setting up iproute2 (4.3.0-1ubuntu3.16.04.2) ...
Setting up ifupdown (0.8.10ubuntu1.2) ...
Creating /etc/network/interfaces.
Setting up libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.9) ...
Setting up libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.9) ...
Setting up isc-dhcp-client (4.3.3-5ubuntu12.7) ...
Setting up isc-dhcp-common (4.3.3-5ubuntu12.7) ...
Setting up libbsd0:amd64 (0.8.2-1) ...
Setting up libxtables11:amd64 (1.6.0-2ubuntu3) ...
Setting up netbase (5.3) ...
Setting up openssl (1.0.2g-1ubuntu4.10) ...
Setting up ca-certificates (20170717~16.04.1) ...
Setting up libcap-ng0:amd64 (0.7.7-1) ...
Setting up libdbus-1-3:amd64 (1.10.6-1ubuntu3.3) ...
Setting up dbus (1.10.6-1ubuntu3.3) ...
Setting up krb5-locales (1.13.2+dfsg-5ubuntu2) ...
Setting up libkrb5support0:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up libk5crypto3:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up libkeyutils1:amd64 (1.5.9-8ubuntu1) ...
Setting up libkrb5-3:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up libgssapi-krb5-2:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d-1ubuntu0.1) ...
Setting up libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.5) ...
Setting up libedit2:amd64 (3.1-20150325-1ubuntu2) ...
Setting up libglib2.0-data (2.48.2-0ubuntu1) ...
Setting up libsasl2-modules:amd64 (2.1.26.dfsg1-14build1) ...
Setting up nano (2.5.3-2ubuntu2) ...
update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in auto mode
update-alternatives: using /bin/nano to provide /usr/bin/pico (pico) in auto mode
Setting up psmisc (22.21-2.1build1) ...
Setting up shared-mime-info (1.5-2ubuntu0.1) ...
Setting up wget (1.17.1-1ubuntu1.3) ...
Setting up xdg-user-dirs (0.15-2ubuntu6) ...
Setting up xml-core (0.13+nmu2) ...
Setting up curl (7.47.0-1ubuntu2.5) ...
Setting up libavahi-common-data:amd64 (0.6.32~rc+dfsg-1ubuntu2) ...
Setting up libavahi-common3:amd64 (0.6.32~rc+dfsg-1ubuntu2) ...
Setting up libavahi-client3:amd64 (0.6.32~rc+dfsg-1ubuntu2) ...
Setting up libcups2:amd64 (2.1.3-4ubuntu0.3) ...
Setting up libcupsfilters1:amd64 (1.8.3-2ubuntu3.1) ...
Setting up libcupsimage2:amd64 (2.1.3-4ubuntu0.3) ...
Setting up libijs-0.35:amd64 (0.35-12) ...
Setting up libjbig2dec0 (0.12+20150918-1ubuntu0.1) ...
Setting up libpaper1:amd64 (1.1.24+nmu4ubuntu1) ...

Creating config file /etc/papersize with new version
Setting up libgs9-common (9.18~dfsg~0-0ubuntu2.7) ...
update-alternatives: using /usr/share/ghostscript/9.18 to provide /usr/share/ghostscript/current (ghostscript-current) in auto mode
Setting up libgs9:amd64 (9.18~dfsg~0-0ubuntu2.7) ...
Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
Setting up ghostscript (9.18~dfsg~0-0ubuntu2.7) ...
Setting up hicolor-icon-theme (0.15-0ubuntu1) ...
Setting up imagemagick-6.q16 (8:6.8.9.9-7ubuntu5.9) ...
Setting up imagemagick (8:6.8.9.9-7ubuntu5.9) ...
update-alternatives: using /usr/bin/compare-im6 to provide /usr/bin/compare (compare) in auto mode
update-alternatives: using /usr/bin/animate-im6 to provide /usr/bin/animate (animate) in auto mode
update-alternatives: using /usr/bin/convert-im6 to provide /usr/bin/convert (convert) in auto mode
update-alternatives: using /usr/bin/composite-im6 to provide /usr/bin/composite (composite) in auto mode
update-alternatives: using /usr/bin/conjure-im6 to provide /usr/bin/conjure (conjure) in auto mode
update-alternatives: using /usr/bin/import-im6 to provide /usr/bin/import (import) in auto mode
update-alternatives: using /usr/bin/identify-im6 to provide /usr/bin/identify (identify) in auto mode
update-alternatives: using /usr/bin/stream-im6 to provide /usr/bin/stream (stream) in auto mode
update-alternatives: using /usr/bin/display-im6 to provide /usr/bin/display (display) in auto mode
update-alternatives: using /usr/bin/montage-im6 to provide /usr/bin/montage (montage) in auto mode
update-alternatives: using /usr/bin/mogrify-im6 to provide /usr/bin/mogrify (mogrify) in auto mode
Setting up php-common (1:35ubuntu6) ...
Setting up php7.0-common (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/calendar.ini with new version

Creating config file /etc/php/7.0/mods-available/ctype.ini with new version

Creating config file /etc/php/7.0/mods-available/exif.ini with new version

Creating config file /etc/php/7.0/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.0/mods-available/ftp.ini with new version

Creating config file /etc/php/7.0/mods-available/gettext.ini with new version

Creating config file /etc/php/7.0/mods-available/iconv.ini with new version

Creating config file /etc/php/7.0/mods-available/pdo.ini with new version

Creating config file /etc/php/7.0/mods-available/phar.ini with new version

Creating config file /etc/php/7.0/mods-available/posix.ini with new version

Creating config file /etc/php/7.0/mods-available/shmop.ini with new version

Creating config file /etc/php/7.0/mods-available/sockets.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.0/mods-available/tokenizer.ini with new version
Setting up php7.0-json (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/json.ini with new version
Setting up php7.0-opcache (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
Setting up php7.0-readline (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/readline.ini with new version
Setting up php7.0-cli (7.0.22-0ubuntu0.16.04.1) ...
update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.0/cli/php.ini with new version
Setting up libapache2-mod-php7.0 (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
apache2_invoke: Enable module php7.0
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up libpixman-1-0:amd64 (0.33.6-1) ...
Setting up libxcb-render0:amd64 (1.11.1-1ubuntu1) ...
Setting up libxcb-shm0:amd64 (1.11.1-1ubuntu1) ...
Setting up libxrender1:amd64 (1:0.9.9-0ubuntu1) ...
Setting up libcairo2:amd64 (1.14.6-1) ...
Setting up libcroco3:amd64 (0.6.11-1) ...
Setting up libcurl3:amd64 (7.47.0-1ubuntu2.5) ...
Setting up libdatrie1:amd64 (0.2.10-2) ...
Setting up libdjvulibre-text (3.5.27.1-5) ...
Setting up libdjvulibre21:amd64 (3.5.27.1-5) ...
Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
Setting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
Setting up libgd3:amd64 (2.1.1-4ubuntu0.16.04.8) ...
Setting up libgdk-pixbuf2.0-common (2.32.2-1ubuntu1.3) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.3) ...
Setting up libgraphite2-3:amd64 (1.3.10-0ubuntu0.16.04.1) ...
Setting up libharfbuzz0b:amd64 (1.0.1-1ubuntu0.1) ...
Setting up libilmbase12:amd64 (2.2.0-11ubuntu2) ...
Setting up libopenexr22:amd64 (2.2.0-10ubuntu2) ...
Setting up libthai-data (0.1.24-2) ...
Setting up libthai0:amd64 (0.1.24-2) ...
Setting up libpango-1.0-0:amd64 (1.38.1-1) ...
Setting up libpangoft2-1.0-0:amd64 (1.38.1-1) ...
Setting up libpangocairo-1.0-0:amd64 (1.38.1-1) ...
Setting up librsvg2-2:amd64 (2.40.13-3) ...
Setting up libwmf0.2-7:amd64 (0.2.8.4-10.5ubuntu1) ...
Setting up libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-7ubuntu5.9) ...
Setting up libnetpbm10 (2:10.0-15.3) ...
Setting up libpaper-utils (1.1.24+nmu4ubuntu1) ...
Setting up librsvg2-common:amd64 (2.40.13-3) ...
Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
Setting up libzip4:amd64 (1.0.1-0ubuntu1) ...
Setting up netpbm (2:10.0-15.3) ...
Setting up php7.0-xml (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/dom.ini with new version

Creating config file /etc/php/7.0/mods-available/simplexml.ini with new version

Creating config file /etc/php/7.0/mods-available/wddx.ini with new version

Creating config file /etc/php/7.0/mods-available/xml.ini with new version

Creating config file /etc/php/7.0/mods-available/xmlreader.ini with new version

Creating config file /etc/php/7.0/mods-available/xmlwriter.ini with new version

Creating config file /etc/php/7.0/mods-available/xsl.ini with new version
Setting up php-pear (1:1.10.1+submodules+notgz-6) ...
Setting up php-gettext (1.0.11-2build1) ...
Setting up php-imagick (3.4.0~rc6-1ubuntu3) ...
Setting up php7.0 (7.0.22-0ubuntu0.16.04.1) ...
Setting up php7.0-curl (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/curl.ini with new version
Setting up php7.0-gd (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/gd.ini with new version
Setting up php7.0-mbstring (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/mbstring.ini with new version
Setting up php7.0-mysql (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/mysqlnd.ini with new version

Creating config file /etc/php/7.0/mods-available/mysqli.ini with new version

Creating config file /etc/php/7.0/mods-available/pdo_mysql.ini with new version
Setting up php7.0-zip (7.0.22-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/zip.ini with new version
Setting up rename (0.20-4) ...
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
Setting up ssl-cert (1.0.37) ...
Setting up ttf-dejavu-core (2.35-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ca-certificates (20170717~16.04.1) ...
Updating certificates in /etc/ssl/certs...
148 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.3) ...
Processing triggers for libapache2-mod-php7.0 (7.0.22-0ubuntu0.16.04.1) ...
 ---> 551ef29178ce
Removing intermediate container 98ec3b513f52

(Sam) #7

well, according to the doc, you have to ENABLE mods…

Setting up php7.0-gd (7.0.22-0ubuntu0.16.04.1) …
Creating config file /etc/php/7.0/mods-available/gd.ini with new version

so it is installed…


You can simply use the command phpenmod.

but not enabled


(Jreason) #8

@sdetweil the weird thing is, when i access the container, /etc/php/7.0/mods-available/gd.ini does not exist despite what the log says


(Jreason) #9

got to the bottom of it, docker-compose up was starting a different image to what docker build was created :see_no_evil:


(Sam) #10

ah, the nasty slight of hand!.. glad u found it