dreamcat4 / docker-images

Dreamcat4's Docker Images (Trusted Builds)
MIT License
160 stars 66 forks source link

PXE server wont build #52

Open brendoncdrew opened 3 years ago

brendoncdrew commented 3 years ago

It Seems that dl.bintray.com no longer exists --

Is there somewhere else i could grab these files from possibly???

=> ERROR [3/8] RUN wget -O /tmp/dnsmasq.tar.gz https://dl.bintray.com/dreamcat4/linux/dnsmasq/dnsmasq-latest_lin 1.0s

[3/8] RUN wget -O /tmp/dnsmasq.tar.gz https://dl.bintray.com/dreamcat4/linux/dnsmasq/dnsmasq-latest_linux-x86_64.tar.gz && tar zxf /tmp/dnsmasq.tar.gz -C / --skip-old-files && rm -rf /var/lib/apt/lists/ /tmp/ /var/tmp/*:

6 0.771 --2021-10-01 11:50:10-- https://dl.bintray.com/dreamcat4/linux/dnsmasq/dnsmasq-latest_linux-x86_64.tar.gz

6 0.773 Resolving dl.bintray.com (dl.bintray.com)... 52.43.246.207, 52.34.245.248

6 0.844 Connecting to dl.bintray.com (dl.bintray.com)|52.43.246.207|:443... connected.

6 0.882 HTTP request sent, awaiting response... 403 Forbidden

6 0.893 2021-10-01 11:50:10 ERROR 403: Forbidden.

6 0.893


executor failed running [/bin/sh -c wget -O /tmp/dnsmasq.tar.gz https://dl.bintray.com/dreamcat4/linux/dnsmasq/dnsmasq-latest_linux-x86_64.tar.gz && tar zxf /tmp/dnsmasq.tar.gz -C / --skip-old-files && $_clean]: exit code: 8 bdrew@hpee:~/source/docker-images/pxe$

dreamcat4 commented 3 years ago

ah yes good old bintray closing down it's service. i'm very sorry for not fixing that in the meantimes.

i think the simplest way at this point would be to edit the docker file (on that line there where it's trying to download). And substitute for a local COPY or ADD.

Can build locally the tar.gz archive, using other existing Dockerfile here in my repo. If you look under linux-bin/ subdirectory here:

https://github.com/dreamcat4/docker-images/blob/master/linux-bin/Dockerfile#L111-L122

this 2nd Dockerfile also needs to be tweaked. Comment out the lines for bintray (no longer working). And instead grab the archive from the /out docker volume.

Use docker-build, or any other tool like compose etc. You can also bind:mount the /out volume to a local folder on your disk. Instead of having the volume hidden away under /var/lib/docker/............. somewhere.

Again, my apologies for not fixing this. Too busy with other things elsewhere.