'php:7.0-apache container cannot be build

In my Dockerfile I have this:

FROM php:7.0-apache
ARG DEBIAN_FRONTEND=noninteractive

RUN mkdir -p /usr/share/man/man1

RUN apt-get -y update && apt-get -y install procps less

and on Friday it worked properly. Today I have this strange error:

#86 1.116 CentOS Linux 8 - AppStream                       81  B/s |  38  B     00:00
#86 1.118 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

How to solve this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source