Skip to content

php:5.6-apache Package has no installation candidate #547

@yudao

Description

@yudao

Hi!

I have a Dockerfile with no problems until these last days:

FROM php:5.6-apache

ARG ENVIRONMENT=production

COPY lib/ /var/www/lib/

COPY htdocs/ /var/www/html/

COPY config/php.ini /usr/local/etc/php/

COPY config/000-default-${ENVIRONMENT}.conf /etc/apache2/sites-available/000-default.conf

RUN docker-php-ext-install mysql \
    && docker-php-ext-install opcache

RUN a2enmod rewrite \
    && a2enmod ldap \
    && a2enmod authnz_ldap

RUN apt-get update \
    && apt-get install -y ftp php5-ssh2 file imagemagick unzip libssh2-1 libssh2-1-dev php-pclzip zlib1g-dev \
    && pecl install ssh2 \
    && docker-php-ext-install zip \
    && docker-php-ext-enable ssh2

Now I have Package has no installation candidate errors:

Package php-pclzip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-ssh2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-ssh2' has no installation candidate
E: Package 'php-pclzip' has no installation candidate
remote: The command '/bin/sh -c apt-get update     && apt-get install -y ftp php5-ssh2 file imagemagick unzip libssh2-1 libssh2-1-dev php-pclzip zlib1g-dev     && pecl install ssh2     && docker-php-ext-install zip     && docker-php-ext-enable ssh2' returned a non-zero code: 100

Something has changed? Do I need to change something?

Thanks.

Yu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions