mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-10-31 22:38:49 +00:00
7544abde62
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | alpine_3_18/ca-certificates | major | `20230506-r0` -> `20240226-r0` | --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/woodpecker-ci/woodpecker). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
19 lines
647 B
Docker
19 lines
647 B
Docker
FROM --platform=$BUILDPLATFORM docker.io/golang:1.22 AS build
|
|
|
|
WORKDIR /src
|
|
COPY . .
|
|
ARG TARGETOS TARGETARCH CI_COMMIT_SHA CI_COMMIT_TAG CI_COMMIT_BRANCH
|
|
RUN --mount=type=cache,target=/root/.cache/go-build \
|
|
--mount=type=cache,target=/go/pkg \
|
|
make build-cli
|
|
|
|
FROM docker.io/alpine:3.19
|
|
# renovate: datasource=repology depName=alpine_3_18/ca-certificates versioning=loose
|
|
ENV CA_CERTIFICATES_VERSION="20240226-r0"
|
|
RUN apk add -U --no-cache ca-certificates=${CA_CERTIFICATES_VERSION}
|
|
ENV GODEBUG=netdns=go
|
|
|
|
COPY --from=build /src/dist/woodpecker-cli /bin/
|
|
|
|
HEALTHCHECK CMD ["/bin/woodpecker-cli", "ping"]
|
|
ENTRYPOINT ["/bin/woodpecker-cli"]
|