mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 10:12:50 +08:00
Make image build process a bit simpler
Take full leverage of multi-stage docker build.
This commit is contained in:
@@ -22,7 +22,7 @@ RUN mkdir -p /out/bin && \
|
||||
cp shellcheck /out/bin/
|
||||
|
||||
# Resulting Alpine image
|
||||
FROM alpine:latest
|
||||
FROM alpine:latest AS alpine
|
||||
LABEL maintainer="Vidar Holen <vidar@vidarholen.net>"
|
||||
COPY --from=build /out /
|
||||
|
||||
|
Reference in New Issue
Block a user