Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while doing a docker build using php5 extensions #6

Open
vishnu8109 opened this issue May 29, 2019 · 0 comments
Open

Error while doing a docker build using php5 extensions #6

vishnu8109 opened this issue May 29, 2019 · 0 comments

Comments

@vishnu8109
Copy link

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)?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant