Я использую Windows, и на моем рабочем месте есть несколько репозиториев, которые мне нужно запустить в Docker-контейнере. Он действительно старый, поскольку они используют PHP 5.6 с образом Debian с тех пор, как начали над ним работать. Первые две команды в dockerfile содержат следующее:
Код: Выделить всё
FROM php:5.6-apache
RUN apt update
Код: Выделить всё
0.294 Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
0.297 Ign:2 http://deb.debian.org/debian stretch InRelease
0.315 Err:3 http://security.debian.org/debian-security stretch/updates Release
0.315 404 Not Found [IP: 151.101.130.132 80]
0.325 Ign:4 http://deb.debian.org/debian stretch-updates InRelease
0.352 Err:5 http://deb.debian.org/debian stretch Release
0.352 404 Not Found [IP: 146.75.74.132 80]
Код: Выделить всё
=> ERROR [REDACTED stage-1 4/17] RUN docker-php-ext-install mbstring opcache pdo_mysql mysqli s 0.3s
------
> [REDACTED stage-1 4/17] RUN docker-php-ext-install mbstring opcache pdo_mysql mysqli simplexml xsl zip gd:
0.331 /bin/sh: 1: docker-php-ext-install: not found
------
failed to solve: process "/bin/sh -c docker-php-ext-install mbstring opcache pdo_mysql mysqli simplexml xsl zip gd" did not complete successfully: exit code: 127
Подробнее здесь: https://stackoverflow.com/questions/776 ... ile-buildi
Мобильная версия