Add libgit2 dev dependencies

Signed-off-by: Philip Laine <philip.laine@xenit.se>
This commit is contained in:
Philip Laine 2020-11-29 16:46:25 +01:00 committed by Philip Laine
parent 00b4010096
commit 873c349647
1 changed files with 2 additions and 1 deletions

View File

@ -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