File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed 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
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
5+ RUN apk add --no-cache musl~=1.2 libgit2-dev~=1.1
106
117WORKDIR /workspace
128
@@ -34,9 +30,7 @@ FROM alpine:3.13
3430# link repo to the GitHub Container Registry image
3531LABEL org.opencontainers.image.source="https://github.com/fluxcd/source-controller"
3632
37- RUN apk add --no-cache ca-certificates tini
38- RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community libgit2~=1.1
39- RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main musl~=1.2
33+ RUN apk add --no-cache ca-certificates tini libgit2~=1.1 musl~=1.2
4034
4135COPY --from=builder /workspace/source-controller /usr/local/bin/
4236
You can’t perform that action at this time.
0 commit comments