File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1- FROM ghcr.io/void-linux/void-glibc-full:20240526R1 AS build
1+ FROM ghcr.io/void-linux/void-glibc-full:latest AS build
22
33RUN xbps-install -Suy xbps && xbps-install -uy git go
4- ARG GO_XBPS_SRC_VERSION=4c394976975f7e84062f56d437b41a0d48043792
4+
5+ ARG GO_XBPS_SRC_VERSION=0411f1b69a21103ec39ae6b0160b47cfc2c3e880
6+
57RUN env GOBIN=/usr/local/bin GOMODCACHE=/tmp/go \
68 go install -v github.com/Duncaen/go-xbps-src/cmd/xbps-src-make@$GO_XBPS_SRC_VERSION
79
810FROM build AS buildbot-builder
911RUN xbps-install -Suy xbps && xbps-install -uy python3 tini git curl bash make rsync
1012COPY --from=build /usr/local/bin/xbps-src-make /usr/local/bin/xbps-src-make
11- RUN rm -rf /var/cache/xbps && \
13+ RUN rm -rf /var/cache/xbps /tmp/* && \
1214 groupadd --gid 418 void-builder && \
1315 useradd --uid 418 --gid 418 -G xbuilder -M -d /buildbot void-builder && \
1416 mkdir /venv /buildbot && \
1517 chown void-builder:void-builder /venv /buildbot
1618USER void-builder
19+
1720# version must be synced with ../buildbot
21+ ARG BUILDBOT_VERSION=4.2.1
22+
1823RUN python3 -m venv /venv && \
1924 /venv/bin/pip3 install wheel && \
20- /venv/bin/pip3 install 'buildbot-worker~=4.0.0'
25+ /venv/bin/pip3 install 'buildbot-worker~=' $BUILDBOT_VERSION
2126WORKDIR /buildbot
2227RUN mkdir -p /buildbot && \
2328 ln -sf /local/info /buildbot/info && \
Original file line number Diff line number Diff line change 1- FROM ghcr.io/void-linux/void-glibc-full:20240526R1
1+ FROM ghcr.io/void-linux/void-glibc-full:latest
2+
3+ RUN xbps-install -Suy xbps && xbps-install -uy python3 tini git curl && rm -rf /var/cache/xbps /tmp/*
24
3- RUN xbps-install -Suy xbps && xbps-install -uy python3 tini git curl
4- ARG THEME_VERSION=v0.1.0
55# version must be synced with ../buildbot-worker
6+ ARG BUILDBOT_VERSION=4.2.1
7+ ARG THEME_VERSION=v0.1.0
8+
69RUN python3 -m venv /venv && \
710 /venv/bin/pip3 install wheel && \
8- /venv/bin/pip3 install 'buildbot[tls,bundle]~=4.0.0' treq \
11+ /venv/bin/pip3 install 'buildbot[tls,bundle]~=' $BUILDBOT_VERSION \
912 buildbot-prometheus buildbot-netauth \
1013 git+https://github.com/void-linux/buildbot-theme.git@$THEME_VERSION
1114WORKDIR /buildbot
You can’t perform that action at this time.
0 commit comments