Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebasing Docker images on scratch instead of alpine #261

Merged
merged 1 commit into from
Feb 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN curl -fsSL -o /tmp/upx.tar.xz https://github.com/upx/upx/releases/download/v
COPY --from=build /go/src/github.com/hairyhenderson/gomplate/bin/gomplate /gomplate
RUN /tmp/upx --lzma /gomplate -o /gomplate-slim

FROM alpine:3.6 AS gomplate
FROM scratch AS gomplate

ARG BUILD_DATE
ARG VCS_REF
Expand All @@ -36,7 +36,7 @@ ENTRYPOINT [ "/gomplate" ]

CMD [ "--help" ]

FROM alpine:3.6 AS gomplate-slim
FROM scratch AS gomplate-slim

ARG BUILD_DATE
ARG VCS_REF
Expand Down