github.com/mgoltzsche/ctnr@v0.7.1-alpha/image/builder/dockerfile/testfiles/10-copy.test (about)

     1  FROM alpine:3.7
     2  COPY entrypoint.sh /entrypoint.sh
     3  COPY --chown=root:root entrypoint.sh *.conf /
     4  COPY --from=alpine:3.7 etc/hosts /
     5  COPY --from=alpine:3.7 --chown=root:root /etc/passwd /
     6  
     7  # ASSERT RUN [ -f "/entrypoint.sh" ] && [ -f "/cfg-a.conf" ] && [ -f "/hosts" ] && [ -f "/passwd" ]
     8  
     9  # TODO: test different users (need to run test as root or use proot)