Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PXE server wont build #52

Open
brendoncdrew opened this issue Oct 1, 2021 · 1 comment
Open

PXE server wont build #52

brendoncdrew opened this issue Oct 1, 2021 · 1 comment

Comments

@brendoncdrew
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants