From 3eb105a5f89955cdeeb0d4a50d964b75c8891940 Mon Sep 17 00:00:00 2001 From: Tetsuharu Ohzeki Date: Wed, 8 Jul 2020 08:59:47 +0900 Subject: [PATCH] Use Docker's multi-stage builds --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5d4dae2..fb1cfd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file