Skip to content

Error while doing a docker build using php5 extensions #6

Description

@vishnu8109

Getting an error while doing a docker build by adding php5 extensions. It is working fine with php7 ,but our CMS is running on php5 and it is not compatible with PHP7.

ERROR: unsatisfiable constraints:
  php5 (missing):
    required by: world[php5]
  php5-apache2 (missing):
    required by: world[php5-apache2]
  php5-apcu (missing):
    required by: world[php5-apcu]
  php5-cli (missing):
    required by: world[php5-cli]
  php5-ctype (missing):
    required by: world[php5-ctype]
  php5-curl (missing):
    required by: world[php5-curl]
  php5-dom (missing):
    required by: world[php5-dom]
  php5-fpm (missing):
    required by: world[php5-fpm]
  php5-gd (missing):
    required by: world[php5-gd]
  php5-intl (missing):
    required by: world[php5-intl]
  php5-json (missing):
    required by: world[php5-json]
  php5-mcrypt (missing):
    required by: world[php5-mcrypt]
  php5-mysql (missing):
    required by: world[php5-mysql]
  php5-openssl (missing):
    required by: world[php5-openssl]
  php5-pdo_mysql (missing):
    required by: world[php5-pdo_mysql]
  php5-pear (missing):
    required by: world[php5-pear]
  php5-pgsql (missing):
    required by: world[php5-pgsql]
  php5-phar (missing):
    required by: world[php5-phar]
  php5-sqlite3 (missing):
    required by: world[php5-sqlite3]
  php5-xml (missing):
    required by: world[php5-xml]
  php5-zlib (missing):
    required by: world[php5-zlib]
Service 'web' failed to build: The command '/bin/sh -c apk add --no-cache     bash     openssl     curl     wget     ca-certificates     mariadb-client     apache2-ssl     php5     php5-pear     php5-apache2     php5-apcu     php5-ctype     php5-cli     php5-curl     php5-dom     php5-gd     php5-fpm     php5-intl     php5-json     php5-mysql     php5-openssl     php5-pdo_mysql     php5-pgsql     php5-phar     php5-sqlite3     php5-mcrypt     php5-xml     php5-zlib     imagemagick' returned a non-zero code: 21
EXCEPTION: #<Docker::Compose::Error: 'up' failed with status 'pid 36353 exit 1': Step 1/14 : FROM nimmis/alpine-apache>
MESSAGE: 'up' failed with status 'pid 36353 exit 1': Step 1/14 : FROM nimmis/alpine-apache

Right now we are cloning this repo to our local and doing a docker build by specifying a tag for alpine micro in the Docker file. We will then reference this local image in our Docker file. Can you please include a tag for this repo which helps us to pull the previous version (which supports php5)?.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions