Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
Use Docker's multi-stage builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuharuohzeki committed Jul 7, 2020
1 parent db5c1ee commit 3eb105a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ WORKDIR /gh-action-detect-unmergeable/
RUN ["make", "build", "-j"]

FROM debian:buster-20200607-slim
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
WORKDIR /root/
COPY --from=builder /gh-action-detect-unmergeable/ghaction_unmergeable_detection .
ENTRYPOINT ["/root/ghaction_unmergeable_detection"]

0 comments on commit 3eb105a

Please sign in to comment.