1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-05 18:45:01 +01:00
Files
atomic/tests/test-images/Dockerfile.4
Brent Baude 5eaaa3b1c1 Build test images more effeciently
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
2017-01-26 20:56:08 +00:00

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"