Я столкнулся с ошибкой, когда входил в создание образа и не знал, как это исправить.Что я должен делать?
Та же операция работает на моей домашней рабочей станции, но не работает на офисной рабочей станции, проблема с прокси?
следуйте журналу:
2018.12.11.15.05.52 DEBUG Step 8/16 : RUN echo "nameserver 8.8.8.8" | tee /etc/resolv.conf > /dev/null
2018.12.11.15.05.52 DEBUG
2018.12.11.15.05.52 DEBUG ---> Using cache
2018.12.11.15.05.52 DEBUG ---> 44aa4855b1cb
2018.12.11.15.05.52 DEBUG Step 9/16 : RUN apt-get clean && apt-get update && apt-get -y install libgtk2.0-dev
2018.12.11.15.05.52 DEBUG
2018.12.11.15.05.52 DEBUG ---> Running in 36a688ff26f2
2018.12.11.15.08.08 DEBUG Err deb.debian.org jessie InRelease
Err deb.debian.org jessie-updates InRelease
Err security.debian.org jessie/updates InRelease
2018.12.11.15.08.08 DEBUG Err deb.debian.org jessie Release.gpg
Unable to connect to 10.1.0.6:3128:
2018.12.11.15.08.08 DEBUG Err security.debian.org jessie/updates Release.gpg
Unable to connect to 10.1.0.6:3128:
2018.12.11.15.08.08 DEBUG Err deb.debian.org jessie-updates Release.gpg
Unable to connect to 10.1.0.6:3128:
2018.12.11.15.08.12 DEBUG Reading package lists...
2018.12.11.15.08.16 DEBUG
2018.12.11.15.08.20 DEBUG [91mW: Failed to fetch deb.debian.org/debian/dists/jessie/InRelease
W: Failed to fetch deb.debian.org/debian/dists/jessie-updates/InRelease
W: Failed to fetch security.debian.org/dists/jessie/updates/InRelease
W: Failed to fetch http://deb.debian.org/debian/dists/jessie/Release.gpg Unable to connect to 10.1.0.6:3128:
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/Release.gpg Unable to connect to 10.1.0.6:3128:
W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg Unable to connect to 10.1.0.6:3128:
W: Some index files failed to download. They have been ignored, or old ones used instead.
[0m
2018.12.11.15.08.24 DEBUG Reading package lists...
2018.12.11.15.08.27 DEBUG
2018.12.11.15.08.31 DEBUG Building dependency tree...
2018.12.11.15.08.31 DEBUG
Reading state information...
2018.12.11.15.08.31 DEBUG
2018.12.11.15.08.31 DEBUG [91mE: Unable to locate package libgtk2.0-dev
E: Couldn't find any package by regex 'libgtk2.0-dev'
[0m
2018.12.11.15.08.32 DEBUG Notifycom.github.dockerjava.api.exception.DockerClientException: Could not build image: The command '/bin/sh -c apt-get clean && apt-get update && apt-get -y install libgtk2.0-dev' returned a non-zero code: 100
2018.12.11.15.08.32 DEBUG Send Notification to DB Ended
2018.12.11.15.08.32 DEBUG Onboarding Failed, Reverting failed solutions and artifacts.