
나는 docker를 통해 시작하고 실행하려고 하며 Apromore
저장소에서 최신 docker(19.03.0-beta4) 및 docker-compose(1.24.0) 버전을 가지고 있으며 Ubuntu 19.04도 있습니다. Issue를 실행하면 docker-compose up
빌드 프로세스가 시작되지만 의 경우 apt-get update
동일한 패키지 목록을 반복적으로 가져오기 시작하고 겉으로는 무한 루프에 빠지게 됩니다. 도움을 주시면 감사하겠습니다.
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]
답변1
그 사이 VPN이 문제를 일으키는 것으로 밝혀졌습니다. 이제 문제가 해결되었습니다.
답변2
RUN
다음 줄로 변경하세요
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
다시 시도하면 어떤 실행이 루프를 일으키는지 확인할 수 있습니다.