From 873c349647523cae4ce1645a796dc3fafe124cc8 Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Sun, 29 Nov 2020 16:46:25 +0100 Subject: [PATCH] Add libgit2 dev dependencies Signed-off-by: Philip Laine --- .github/actions/run-tests/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/run-tests/Dockerfile b/.github/actions/run-tests/Dockerfile index 47eccf99..e2583779 100644 --- a/.github/actions/run-tests/Dockerfile +++ b/.github/actions/run-tests/Dockerfile @@ -2,7 +2,8 @@ FROM golang:1.15-alpine # Add any build or testing essential system packages RUN apk add --no-cache build-base git -RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2=1.1.0-r1 +RUN apk add gcc pkgconfig libc-dev +RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev=1.1.0-r1 # Use the GitHub Actions uid:gid combination for proper fs permissions RUN addgroup -g 116 -S test && adduser -u 1001 -S -g test test