doodba
doodba copied to clipboard
Cannot build doodba:8.0-onbuild Image
Describe the bug I cannot build the doodba image because debian Wheezy and Jessie were recently removed from the mirror network.
To Reproduce
Just run
invoke img-build
or
docker-compose build --no-cache
=> ERROR [5/1] RUN /opt/odoo/common/build && sync 1969.5s
------
> [5/1] RUN /opt/odoo/common/build && sync:
#0 0.415 Updating certificates in /etc/ssl/certs... 0 added, 1 removed; done.
#0 1.234 Running hooks in /etc/ca-certificates/update.d....done.
#0 1.255 doodba WARNING: Not aggregating code repositories
#0 1.260
#0 1.260 WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.
#0 1.260
#0 1131.7 Ign http://deb.debian.org jessie InRelease
#0 1131.7 Ign http://deb.debian.org jessie Release.gpg
#0 1131.7 Ign http://deb.debian.org jessie Release
#0 1131.8 Ign http://security.debian.org jessie/updates InRelease
#0 1132.0 Err http://deb.debian.org jessie/main amd64 Packages
#0 1132.0
#0 1132.2 Err http://deb.debian.org jessie/main amd64 Packages
#0 1132.2
#0 1132.2 Get:1 https://deb.nodesource.com jessie InRelease [4607 B]
#0 1470.3 Err http://deb.debian.org jessie/main amd64 Packages
#0 1470.3
#0 1470.3 Ign http://security.debian.org jessie/updates Release.gpg
#0 1470.3 Get:2 https://apt-archive.postgresql.org jessie-pgdg-archive InRelease [4697 B]
#0 1470.6 Err http://deb.debian.org jessie/main amd64 Packages
#0 1470.6
#0 1470.6 Ign http://security.debian.org jessie/updates Release
#0 1470.8 Err http://security.debian.org jessie/updates/main amd64 Packages
#0 1470.8
#0 1471.0 Err http://deb.debian.org jessie/main amd64 Packages
#0 1471.0 404 Not Found
#0 1471.2 Err http://security.debian.org jessie/updates/main amd64 Packages
#0 1471.2
#0 1471.5 Err http://security.debian.org jessie/updates/main amd64 Packages
#0 1471.5
#0 1471.9 Err http://security.debian.org jessie/updates/main amd64 Packages
#0 1471.9
#0 1472.4 Err http://security.debian.org jessie/updates/main amd64 Packages
#0 1472.4 404 Not Found [IP: 151.101.130.132 80]
#0 1634.0 Get:3 https://deb.nodesource.com jessie/main Sources [20 B]
#0 1967.3 Get:4 https://deb.nodesource.com jessie/main amd64 Packages [1005 B]
#0 1968.3 Get:5 https://apt-archive.postgresql.org jessie-pgdg-archive/main Sources [422 kB]
#0 1969.0 Get:6 https://apt-archive.postgresql.org jessie-pgdg-archive/main amd64 Packages [1142 kB]
#0 1969.5 W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found
#0 1969.5
#0 1969.5 W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.130.132 80]
#0 1969.5
#0 1969.5 E: Some index files failed to download. They have been ignored, or old ones used instead.
#0 1969.5 Fetched 1575 kB in 13min 57s (1879 B/s)
#0 1969.5 Traceback (most recent call last):
#0 1969.5 File "/opt/odoo/common/build", line 30, in <module>
#0 1969.5 subprocess.check_call(command)
#0 1969.5 File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
#0 1969.5 raise CalledProcessError(retcode, cmd)
#0 1969.5 subprocess.CalledProcessError: Command '/opt/odoo/custom/build.d/20-update-pg-repos' returned non-zero exit status 100
I think that 7.0 wont work either