PatrowlDocs icon indicating copy to clipboard operation
PatrowlDocs copied to clipboard

Docker web failed to build

Open skibidibum333 opened this issue 4 years ago • 2 comments

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

skibidibum333 avatar Mar 17 '21 09:03 skibidibum333

Same here. docker-compose build seems not to take http_proxy and https_proxy settings from environment.

int3ring0 avatar Feb 09 '22 12:02 int3ring0

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

MaKyOtOx avatar Feb 09 '22 13:02 MaKyOtOx