mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 14:23:53 -07:00
Fix Docker images
This commit is contained in:
parent
6dd5350e3b
commit
ef92156ff7
1 changed files with 3 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue