PatrowlDocs
PatrowlDocs copied to clipboard
Docker web failed to build
Hello, when I issue command: docker-compose build --force-rm in git directory I cloned. I get the following Error messages:
E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 3h 25min 18s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 15h 12min 54s). Updates for this repository will not be applied.
Removing intermediate container a9036a99ab10
ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-get update -yq && apt-get install -yq --no-install-recommends apt-utils python3 python3-pip libmagic-dev python3-dev gcc && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100
How am I supposed to solve this issue?
Thanks in Advance I am on Ubuntu 20.04
Same here. docker-compose build seems not to take http_proxy and https_proxy settings from environment.
Hi there. These env vars should be passed in the Dockerfile + docker-entrypoint.sh eventually. It appears to apply only in offline of proxified environment. -> Won't be fixed except if a community member submit it