mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 19:36:43 +00:00
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>
14 lines
299 B
Docker
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", "-", "."]
|