#6 Support URLs in FROM and ADD

1.0
closed
nobody
None
2017-11-19
2017-11-16
Anonymous
No

Originally created by: labi

Originally owned by: labi

Support at least http:// and ftp:// as protocols.
Think about SVN / GIT

Discussion

  • Anonymous - 2017-11-19

    Originally by: labi

    I forgot about SVN and GIT actually. Supporting standard URLs was hard enough ;)
    But I hope that I was able to ship around most limitations which docker actually has in this area and even add some new features.

    So we are able to pass options to an URL to support that it is extracted "on-the-fly". The example use-case was the raspberry pi image, which is a ZIP, containing an img.

    You can define, that the result should be a tar archive. And you can define which partition of the img should be used. The URL looks like this then:

    FROM https://downloads.raspberrypi.org/raspbian_lite_latest|img=p2|format=tar
    
     

Log in to post a comment.