Files
linuxkit/alpine/test/Dockerfile
Justin Cormack 382c9f8a90 Tidy up test build
Do not build from Go image as not clear we will switch it.

Print some output at the end for a quick visual success indicator.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-13 17:03:05 +00:00

14 lines
299 B
Docker

FROM alpine:3.5
COPY test.sh mksh /tmp/bin/
COPY ca-certificates.crt /tmp/etc/ssl/certs/ca-certificates.crt
COPY moby /tmp/etc/
WORKDIR /tmp
RUN printf 'FROM scratch\nCOPY . ./\nENTRYPOINT ["/bin/sh", "-c"]\nCMD ["/bin/test.sh"]' > Dockerfile
RUN mv bin/mksh bin/sh
CMD ["tar", "cf", "-", "."]