[PATCH 1/1] Dockerfile: download binaries for Nokia RX-51

Tom Rini trini at konsulko.com
Fri Jan 13 19:48:40 CET 2023


On Fri, Jan 13, 2023 at 07:41:51PM +0100, Pali Rohár wrote:
> On Friday 13 January 2023 19:25:01 Heinrich Schuchardt wrote:
> > Downloading files for a test may fail if the server is offline.
> > It is preferable to provide the files in our Docker image.
> > 
> > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> > ---
> >  tools/docker/Dockerfile | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> > 
> > diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
> > index 202a8145af..ee44668ae0 100644
> > --- a/tools/docker/Dockerfile
> > +++ b/tools/docker/Dockerfile
> > @@ -213,6 +213,15 @@ RUN git clone https://github.com/stefanberger/swtpm /tmp/swtpm && \
> >  	make install && \
> >  	rm -rf /tmp/swtpm
> >  
> > +# Files to run Nokia RX-51 (aka N900) tests
> > +RUN mkdir -p /opt/nokia && \
> > +	cd /opt/nokia && \
> > +	wget https://raw.githubusercontent.com/pali/u-boot-maemo/master/debian/u-boot-gen-combined && \
> 
> If you are downloading it from github then use github.com URI, e.g.:
> https://github.com/pali/u-boot-maemo/raw/master/debian/u-boot-gen-combined

I honestly cannot find something from GitHub itself saying which is
preferred, but I've always done raw.githubusercontent.com instead.  We
do mostly (8 times vs 2 times) go the raw.githubusercontent.com path
elsewhere in U-Boot.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230113/055fffa0/attachment.sig>


More information about the U-Boot mailing list