Files
gentoo-zh/.github/autobump-env/Dockerfile
T
Zakk 23717b4246 autobump: add squashfs-tools to the worker image
The artifact diff runs `ebuild clean unpack` without installing BDEPEND.
dev-util/openchamber-bin unpacks its AppImage with unsquashfs, which the
desktop stage3 does not ship, so every run deferred it with "unpack old
failed" and 2.3.1 through 2.4.0 were bumped by hand.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-17 19:57:37 +11:00

25 lines
1.2 KiB
Docker

ARG BASE
FROM ${BASE}
RUN emerge-webrsync --no-pgp-verify \
&& { \
echo 'FEATURES="${FEATURES} getbinpkg buildpkg"'; \
echo 'PORTAGE_ELOG_CLASSES="qa warn error"'; \
echo 'PORTAGE_ELOG_SYSTEM="save"'; \
echo 'ACCEPT_LICENSE="*"'; \
} >> /etc/portage/make.conf \
&& mkdir -p /etc/portage/package.use \
# ci-binhost USE must match the binhost or getbinpkg rejects its binpkgs.
&& printf '%s\n' 'dev-qt/qtwebengine bindist' 'net-libs/webkit-gtk keyring' \
> /etc/portage/package.use/ci-binhost \
# Xvfb runs the GUI launch probe.
&& echo 'x11-base/xorg-server xvfb minimal -xorg' > /etc/portage/package.use/autobump-xvfb \
&& getuto \
&& install -dm775 -o root -g portage /var/cache/distfiles \
# curl supplies the DeadUrl recheck (stage3 has only wget); portage-utils supplies --version smoke, iwdevtools qa-vdb.
&& emerge --quiet --getbinpkg --autounmask=y --autounmask-write=y --autounmask-continue=y \
dev-lang/ruby dev-vcs/git dev-util/pkgdev dev-util/pkgcheck app-portage/portage-utils \
app-portage/iwdevtools dev-util/github-cli app-misc/jq net-misc/curl \
app-portage/cpuid2cpuflags sys-fs/squashfs-tools x11-base/xorg-server \
&& rm -rf /var/db/repos/gentoo /var/cache/distfiles/* /var/cache/binpkgs/*