mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-05 18:45:01 +01:00
Small reorganization for some of the dockerfiles related to image-test which lets docker use more efficient caches to build quicker. Closes: #850 Approved by: baude
14 lines
596 B
Docker
14 lines
596 B
Docker
FROM centos
|
|
MAINTAINER "Sally O'Malley <somalley at redhat dot com>
|
|
ENV container docker
|
|
|
|
LABEL RUN "/usr/bin/docker run -t --user \${SUDO_UID}:\${SUDO_GID} \${OPT1} -v /var/log/\${NAME}:/var/log -v /var/lib/\${NAME}:/var/lib \$OPT2 --name \${NAME} \${IMAGE} \$OPT3 echo I am the run label."
|
|
|
|
LABEL INSTALL "/usr/bin/docker \${OPT1} run -v /etc/\${NAME}:/etc -v /var/log/\${NAME}:/var/log -v /var/lib/\${NAME}:/var/lib \$OPT2 --name \${NAME} \${IMAGE} \$OPT3 echo I am the install label."
|
|
|
|
COPY help.sh /
|
|
|
|
LABEL help "docker run --rm IMAGE /usr/bin/bash /help.sh"
|
|
|
|
LABEL "Name"="atomic-test-4"
|