Tento começar Apromore
a usar o docker, tenho as versões mais recentes do docker (19.03.0-beta4) e docker-compose (1.24.0) de seu repositório, também tenho o Ubuntu 19.04. A emissão docker-compose up
inicia o processo de construção, mas quando se trata de apt-get update
, ele começa a obter repetidamente a mesma lista de pacotes e aparentemente entra em um loop infinito. Qualquer ajuda é apreciada.
Step 3/24 : RUN apt-get -y update && sed -i -e '/^assistive_technologies=/s/^/#/' /etc/java-8-openjdk/accessibility.properties && apt-get -y install git && apt-get -y install python3 && apt-get -y install python3-pip && apt-get -y install xvfb && apt-get -y install python3-tk && apt-get -y clean
---> Running in fdd310721344
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://security.debian.org/debian-security stretch/updates InRelease
Ign:3 http://deb.debian.org/debian stretch-updates InRelease
Get:4 http://security.debian.org/debian-security stretch/updates Release [92.7 kB]
Get:4 http://security.debian.org/debian-security stretch/updates Release [92.7 kB]
Ign:5 http://deb.debian.org/debian stretch Release
Get:6 http://deb.debian.org/debian stretch-updates Release [89.4 kB]
Get:4 http://security.debian.org/debian-security stretch/updates Release [92.7 kB]
Get:4 http://security.debian.org/debian-security stretch/updates Release [92.7 kB]
Get:6 http://deb.debian.org/debian stretch-updates Release [89.4 kB]
Ign:6 http://deb.debian.org/debian stretch-updates Release
Get:7 http://deb.debian.org/debian stretch/main all Packages [3358 kB]
Get:4 http://security.debian.org/debian-security stretch/updates Release [92.7 kB]
Ign:4 http://security.debian.org/debian-security stretch/updates Release
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [492 kB]
Get:7 http://deb.debian.org/debian stretch/main all Packages [3358 kB]
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [492 kB]
Get:7 http://deb.debian.org/debian stretch/main all Packages [3358 kB]
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [492 kB]
Get:7 http://deb.debian.org/debian stretch/main all Packages [3358 kB]
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [492 kB]
Get:7 http://deb.debian.org/debian stretch/main all Packages [3358 kB]
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [492 kB]
Get:7 http://deb.debian.org/debian stretch/main all Packages [3358 kB]
Responder1
Enquanto isso, descobriu-se que a VPN estava causando o problema. Problema resolvido agora.
Responder2
Mude RUN
para estas linhas
RUN sed -i -e '/^assistive_technologies=/s/^/#/' /etc/java-8-openjdk/accessibility.properties
RUN apt-get -y update && apt-get -y install \
git \
python3 \
python3-pip \
xvfb \
python3-tk
RUN apt-get -y clean
tente novamente e veremos qual execução causa o loop