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

ADD enhancement: allow adding from another image #4933

Closed
wants to merge 5 commits into from

Commits on Mar 31, 2014

  1. ADD enhancement: allow adding from another image

    Rather than adding an additional buildfile instruction, this enhancement
    will use a mock-URI prefix of "image://", followed by a image name, and
    a ":<path>" suffix. (i.e. image://[registry[:port]]<name>[:tag]:<path> )
    
    Such that if you have a container that has a built artifact, you can
    copy it over to a new/different image.
    
    ```
    FROM vbatts/minimal-runtime
    
    ADD image://vbatts/fat-buildtime:/build/server /server
    
    CMD "/server"
    ```
    
    Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
    vbatts committed Mar 31, 2014
    Configuration menu
    Copy the full SHA
    f83e2f5 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2014

  1. ADD enhancement: docs for image://

    Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
    vbatts committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    5bdf6fe View commit details
    Browse the repository at this point in the history
  2. ADD enhancement: nop Cmd for the <src> config

    A command is required for the context setup as the <src> image.
    
    Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
    vbatts committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    3ad1457 View commit details
    Browse the repository at this point in the history
  3. ADD enhancement: pull missing image from image://

    If the image named in the ``image://`` src is not present, then pull it.
    
    Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
    vbatts committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    2424d53 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2014

  1. ADD: adding ipv6 tests for the image:// schema

    Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
    vbatts committed Apr 21, 2014
    Configuration menu
    Copy the full SHA
    ecab2b5 View commit details
    Browse the repository at this point in the history