Created
July 24, 2014 21:48
-
-
Save supr/404307a82208e3e3119b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos6 | |
MAINTAINER foo@bar.com | |
ADD ./file1 /opt/example/ | |
ADD ./file2 /opt/example/ | |
ADD ./dir1 /opt/example/ | |
ADD ./dir2 /opt/example/ | |
RUN ls -l /opt/example | |
docker build -t 'deleteme' . | |
Sending build context to Docker daemon 9.728 kB | |
Sending build context to Docker daemon | |
Step 0 : FROM centos:centos6 | |
---> cd934e0010d5 | |
Step 1 : MAINTAINER foo@bar.com | |
---> Running in fd38ad3f9e45 | |
---> 1eca23b79a4c | |
Removing intermediate container fd38ad3f9e45 | |
Step 2 : ADD ./file1 /opt/example/ | |
---> f7ea3e380f1a | |
Removing intermediate container 79c5ca41231e | |
Step 3 : ADD ./file2 /opt/example/ | |
---> 9563f55a6347 | |
Removing intermediate container 5e7b12d4bedc | |
Step 4 : ADD ./dir1 /opt/example/ | |
---> 9415c87fbe0a | |
Removing intermediate container 7cdc49157048 | |
Step 5 : ADD ./dir2 /opt/example/ | |
---> c71aba7f54eb | |
Removing intermediate container 6c3a0160791c | |
Step 6 : RUN ls -l /opt/example | |
---> Running in 0ea089964ac9 | |
total 8 | |
-rw-rw-r--. 1 root root 4 Jul 24 22:45 file1 | |
-rw-rw-r--. 1 root root 4 Jul 24 22:45 file2 | |
---> aa9da72e32e1 | |
Removing intermediate container 0ea089964ac9 | |
Successfully built aa9da72e32e1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment