File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
.github/actions/run-tests Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM golang:1.15-alpine
22
33# Add any build or testing essential system packages
44RUN apk add --no-cache build-base git pkgconf
5- RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev~=1.1.0
5+ RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev~=1.1
66
77# Use the GitHub Actions uid:gid combination for proper fs permissions
88RUN addgroup -g 116 -S test && adduser -u 1001 -S -g test test
Original file line number Diff line number Diff line change 22FROM golang:1.15-alpine as builder
33
44RUN apk add gcc pkgconfig libc-dev
5- RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev~=1.1.0
5+ RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev~=1.1
6+ # TODO: replace with non-edge musl 1.2.x when made available
7+ # musl 1.2.x is a strict requirement of libgit2 due to time_t changes
8+ # ref: https://musl.libc.org/time64.html
9+ RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main musl~=1.2
610
711WORKDIR /workspace
812
@@ -31,7 +35,7 @@ FROM alpine:3.12
3135LABEL org.opencontainers.image.source="https://github.com/fluxcd/source-controller"
3236
3337RUN apk add --no-cache ca-certificates tini
34- RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev ~=1.1.0
38+ RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2~=1.1
3539
3640COPY --from=builder /workspace/source-controller /usr/local/bin/
3741
You can’t perform that action at this time.
0 commit comments