Образ докера на основе php: 5.6.32-apache не создается при запуске RUN apt-get update -y

Я хочу создать образ докера на основе php:5.6.32-apache.

Содержимое моего Dockerfile:

FROM php:5.6.32-apache

....

RUN apt-get update -y

Консольный вывод построенного процесса:

Step 6/10 : RUN apt-get update -y
 ---> Running in 8781a7a005ad
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [7340 B]
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [846 kB]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
Fetched 10.1 MB in 17s (565 kB/s)
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get update -y' returned a non-zero code: 100

Вы можете найти исходный php: 5.6.32-apache Dockerfile здесь: https://github.com/docker-library/php/blob/ec6b6e60b42c283d48775596f722f5250c1f5ca5/5.6/jessie/apache/Dockerofollow

Дубликат. Решение можно найти по адресу: Ошибка сборки. Не удалось получить https://stackoverflow.com/questions/52939411/build-error-failed-to-fetch-http-deb-debian-org-debian-dists-jessie-updates-m.


person vivanov    schedule 24.05.2019    source источник
comment
Возможный дубликат сборки https://stackoverflow.com/questions/52939411/build-error-failed-to-fetch-http-deb-debian-org-debian-dists-jessie-updates-m.   -  person David Maze    schedule 24.05.2019
comment
@DavidMaze Это правда. Это решение решило мою проблему. Что мне теперь делать со своим вопросом? Удали это?   -  person vivanov    schedule 24.05.2019