Make image build process a bit simpler

Take full leverage of multi-stage docker build.
This commit is contained in:
Laurent VERDOÏA
2019-11-09 10:26:59 +01:00
parent 93eca1cb8e
commit 7eb6b35cb0
2 changed files with 2 additions and 3 deletions

View File

@@ -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 /