Comments (5)
I added a check to warn about potentially wrong encodings in 8b9db07.
Thanks a lot for reporting this issue!
from pimod.
Thanks for trying pimod and report your experience.
First, could you please provide your Pifile or at least its head regarding the FROM
command?
Internally pimod also uses wget to fetch remote images, have a look at the from_remote_fetch
function:
Lines 42 to 44 in dd10904
However, the IP addresses are indicating that you have used two different mirror servers from the CDN. I successfully tried to access the file from your faulty mirror with:
curl \
--header 'Host:downloads.raspberrypi.org' \
--insecure \
-o foo \
https://93.93.130.212/raspios_lite_armhf/images/raspios_lite_armhf-2021-03-25/2021-03-04-raspios-buster-armhf-lite.zip
Thus, I would suggest that either the CDN server was faulty at that specific time or there was some something wrong with your Pifile.
from pimod.
FROM https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-03-25/2021-03-04-raspios-buster-armhf-lite.zip
RUN curl -sSL get.docker.com | sh
RUN usermod -aG docker pi
Here is my pifile. I can't imagine that the CDN being down makes sense because I tried subsequent invocations of wget
and docker run
in the same console, right after one another (no time-gap) - multiple times. The wget
always succeeds, but the
docker run --rm --privileged -v $PWD:/pimod pimod pimod.sh examples/Rpi-Docker.Pifile
always fails with the log shown above. Also note that both invocations used the exact same URL. How it resolves to 2 different CDNs is a mystery to me (not something I did) - maybe a side-effect of using Docker?
from pimod.
I also confirm that
running
root@dc9cb31b2187:/# wget https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-03-25/2021-03-04-raspios-buster-armhf-lite.zip
--2021-04-26 20:17:21-- https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-03-25/2021-03-04-raspios-buster-armhf-lite.zip
Resolving downloads.raspberrypi.org (downloads.raspberrypi.org)... 176.126.240.86, 176.126.240.84, 46.235.230.122, ...
Connecting to downloads.raspberrypi.org (downloads.raspberrypi.org)|176.126.240.86|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 463405209 (442M) [application/zip]
Saving to: '2021-03-04-raspios-buster-armhf-lite.zip'
2021-03-04-ra 15%[======> ] 68.55M 4.71MB/s eta 81s
works fine, which is a docker container I ran using: docker run -it --rm ubuntu
. I did this to eliminate docker being the cause.
from pimod.
This was my own fault - some quirk of the WSL (Windows Subsystem for Linux caused VS code to use CRLF line endings. Closing.
from pimod.
Related Issues (20)
- Multiline RUN command not working on 0.4.0 HOT 4
- cgroup problem when running docker HOT 1
- INSTALL does not copy hidden files HOT 4
- PUMP does not work as expected
- PUMP can result in non-bootable images HOT 1
- RUN export VARIABLE=foo gives error "unbound variable" HOT 5
- Chaining commands with && has unexpected behaviour HOT 2
- Feature request: checkpoints HOT 3
- Feature request: provide some kind of access to host files HOT 1
- Can't create image on WSL2 HOT 2
- heredoc bulk execution not working HOT 3
- /etc/resolv.conf: networking not working properly HOT 2
- Find clean way to edit resolv.conf if it was replaced/bind mounted HOT 3
- Feat: A `SHRINK` command HOT 2
- Unable to unmount when based on broken image
- Cannot run HOST commands before FROM/INPLACE HOT 1
- Cannot mount an extracted root filesystem HOT 1
- Create docker images for linux/arm/v7 HOT 3
- Dependency Dashboard
- Is not generating the image anymore HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pimod.