Skip to content

Commit 38e2e58

Browse files
committed
Use semver tidle range for libgit2-dev package
Signed-off-by: Hidde Beydals <[email protected]>
1 parent 88c76c5 commit 38e2e58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/run-tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM golang:1.15-alpine
22

33
# Add any build or testing essential system packages
44
RUN 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-r1
5+
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev~=1.1.0
66

77
# Use the GitHub Actions uid:gid combination for proper fs permissions
88
RUN addgroup -g 116 -S test && adduser -u 1001 -S -g test test

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM golang:1.15-alpine as builder
33

44
RUN 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-r1
5+
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev~=1.1.0
66

77
WORKDIR /workspace
88

@@ -31,7 +31,7 @@ FROM alpine:3.12
3131
LABEL org.opencontainers.image.source="https://github.com/fluxcd/source-controller"
3232

3333
RUN apk add --no-cache ca-certificates tini
34-
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2=1.1.0-r1
34+
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2-dev~=1.1.0
3535

3636
COPY --from=builder /workspace/source-controller /usr/local/bin/
3737

0 commit comments

Comments
 (0)