From b94f438ea0d09606222de2b297b1003d75e10156 Mon Sep 17 00:00:00 2001 From: Carl Sutton Date: Sat, 7 Dec 2019 21:19:22 +0100 Subject: [PATCH] Use alpine instead of ubuntu so the build is faster (#14) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb02f50..a2f6b1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:jessie-slim +FROM alpine # docker build -t vanessa/pull-request-action . @@ -7,7 +7,7 @@ LABEL "com.github.actions.description"="Create a pull request when a branch is c LABEL "com.github.actions.icon"="activity" LABEL "com.github.actions.color"="yellow" -RUN apt-get update && apt-get install -y jq curl wget git +RUN apk --no-cache add curl wget git bash jq COPY pull-request.sh /pull-request.sh RUN chmod u+x /pull-request.sh