Skip to content

Conversation

filippomc
Copy link
Contributor

No description provided.

USER root
RUN wget --no-check-certificate -O /nyhead.mat https://www.parralab.org/nyhead/sa_nyhead.mat
RUN apt-get update -qq && apt-get install aria2 -y
RUN aria2c -j10 -x 10 https://www.parralab.org/nyhead/sa_nyhead.mat
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

download and move are better done in one single command, as otherwise the file is present in 2 separate layers, increasing the image size

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, have made that change. Use of aria2c seems to increase the speed of downloading, sometimes wget would be stuck for ages with the download.

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

Successfully merging this pull request may close these issues.

3 participants