Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions builder/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ FROM quay.io/almalinuxorg/almalinux:8
# NOTE: try to keep the current container image compatible with the latest
# stable source release, so people can conveniently build from the source
# tarball
RUN touch /etc/openslide-linux-builder-v7
RUN touch /etc/openslide-linux-builder-v8
RUN dnf -y upgrade && \
dnf -y install 'dnf-command(config-manager)' epel-release && \
dnf config-manager --set-enabled powertools && \
dnf -y install gcc-c++ git-core nasm ninja-build patchelf \
dnf -y install gcc-c++ git-core ninja-build patchelf \
python3.12-pip zstd && \
if [ $(uname -m) = x86_64 ]; then dnf -y install nasm; fi && \
dnf clean all
RUN pip3 install auditwheel license-expression meson
9 changes: 6 additions & 3 deletions builder/windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM docker.io/gentoo/stage3:latest
# NOTE: try to keep the current container image compatible with the latest
# stable source release, so people can conveniently build from the source
# tarball
RUN touch /etc/openslide-winbuild-builder-v8
RUN touch /etc/openslide-winbuild-builder-v9
RUN echo 'FEATURES="-sandbox -usersandbox -ipc-sandbox -network-sandbox -pid-sandbox"' >> /etc/portage/make.conf
COPY package.accept_keywords /etc/portage/package.accept_keywords/openslide
COPY package.use /etc/portage/package.use/openslide
Expand All @@ -12,8 +12,11 @@ COPY --from=docker.io/gentoo/portage:latest /var/db/repos/gentoo /var/db/repos/g
RUN emerge -u dev-build/meson && \
rm -f /var/cache/distfiles/*
RUN emerge app-portage/gentoolkit dev-lang/nasm dev-libs/glib \
dev-python/license-expression dev-util/glib-utils dev-vcs/git \
sys-devel/crossdev && \
dev-python/license-expression dev-python/pip dev-util/glib-utils \
dev-vcs/git sys-devel/crossdev && \
rm /var/cache/distfiles/*
# Pending 1.10.2 in Gentoo
RUN pip install --break-system-packages --root-user-action ignore --upgrade \
--ignore-installed meson
RUN crossdev -t x86_64-w64-mingw32 && \
rm /var/cache/distfiles/*