mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-01 14:21:07 +00:00
e1e1e8b137
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | docker.io/golang | | minor | `1.21.6` -> `1.22.0` | | docker.io/golang | final | minor | `1.21` -> `1.22` | | docker.io/golang | stage | minor | `1.21-alpine3.18` -> `1.22-alpine3.18` | | docker.io/golang | stage | minor | `1.21` -> `1.22` | --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
30 lines
1 KiB
Makefile
30 lines
1 KiB
Makefile
# docker build --rm -f docker/Dockerfile.make -t woodpecker/make:local .
|
|
FROM docker.io/golang:1.22-alpine3.18 as golang_image
|
|
FROM docker.io/node:21-alpine3.18
|
|
|
|
# renovate: datasource=repology depName=alpine_3_18/make versioning=loose
|
|
ENV MAKE_VERSION="4.4.1-r1"
|
|
# renovate: datasource=repology depName=alpine_3_18/gcc versioning=loose
|
|
ENV GCC_VERSION="12.2.1_git20220924-r10"
|
|
# renovate: datasource=repology depName=alpine_3_18/binutils-gold versioning=loose
|
|
ENV BINUTILS_GOLD_VERSION="2.40-r7"
|
|
# renovate: datasource=repology depName=alpine_3_18/musl-dev versioning=loose
|
|
ENV MUSL_DEV_VERSION="1.2.4-r2"
|
|
|
|
RUN apk add --no-cache --update make=${MAKE_VERSION} gcc=${GCC_VERSION} binutils-gold=${BINUTILS_GOLD_VERSION} musl-dev=${MUSL_DEV_VERSION} && \
|
|
corepack enable
|
|
|
|
# Build packages.
|
|
COPY --from=golang_image /usr/local/go /usr/local/go
|
|
COPY Makefile /
|
|
ENV PATH=$PATH:/usr/local/go/bin
|
|
|
|
# Cache tools
|
|
RUN make install-tools && \
|
|
mv /root/go/bin/* /usr/local/go/bin/ && \
|
|
chmod 755 /usr/local/go/bin/*
|
|
|
|
WORKDIR /build
|
|
RUN chmod -R 777 /root
|
|
|
|
CMD [ "/bin/sh" ]
|