W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/dists/stretch/main/binary-all/Packages 404 Not Found
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/dists/stretch-updates/main/binary-all/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y zlib1g-dev libicu-dev g++ git openssh-client libpng-dev && docker-php-ext-configure intl && docker-php-ext-install intl pdo_mysql zip' returned a non-zero code: 100
Dockerfile:
FROM php:7.0.30-apache
LABEL maintainer="Alefe Souza <[email protected]>"
RUN a2enmod rewrite
RUN apt-get update \
&& apt-get install -y zlib1g-dev libicu-dev g++ git openssh-client libpng-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl pdo_mysql zip
Dockerfilecode so it matches what you have in the file? If you have one long line like it is in the example above, the \ before the&& apt-get install...and other&&s isn't necessary. - Erik Giberti