This commit is contained in:
Shane O'Grady 2018-03-21 15:16:42 +00:00 committed by GitHub
commit 0d994d818a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,12 +25,14 @@ RUN mkdir -p /out/bin && \
FROM alpine:latest
LABEL maintainer="Vidar Holen <vidar@vidarholen.net>"
COPY --from=build /out /
WORKDIR /mnt
ENTRYPOINT ["/bin/shellcheck"]
# DELETE-MARKER (Remove everything below to keep the alpine image)
# Resulting ShellCheck image
FROM scratch
LABEL maintainer="Vidar Holen <vidar@vidarholen.net>"
WORKDIR /
COPY --from=build /out /
WORKDIR /mnt
ENTRYPOINT ["/bin/shellcheck"]