diff --git a/builder/linux/Dockerfile b/builder/linux/Dockerfile index 8dff1c2..ffc55d7 100644 --- a/builder/linux/Dockerfile +++ b/builder/linux/Dockerfile @@ -3,7 +3,7 @@ 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-v2 +RUN touch /etc/openslide-linux-builder-v{2,3} RUN dnf -y upgrade && \ dnf -y install 'dnf-command(config-manager)' epel-release && \ dnf config-manager --set-enabled powertools && \ diff --git a/builder/windows/Dockerfile b/builder/windows/Dockerfile index 87a30a5..5e810e2 100644 --- a/builder/windows/Dockerfile +++ b/builder/windows/Dockerfile @@ -2,12 +2,15 @@ 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-v3 +RUN touch /etc/openslide-winbuild-builder-v{3,4} RUN echo 'FEATURES="-sandbox -usersandbox -ipc-sandbox -network-sandbox -pid-sandbox"' >> /etc/portage/make.conf -COPY package.use /etc/portage/package.use/cross +COPY package.accept_keywords /etc/portage/package.accept_keywords/openslide +COPY package.use /etc/portage/package.use/openslide RUN mkdir -p /var/db/repos/crossdev/{profiles,metadata} && echo crossdev > /var/db/repos/crossdev/profiles/repo_name && echo 'masters = gentoo' > /var/db/repos/crossdev/metadata/layout.conf && chown -R portage:portage /var/db/repos/crossdev COPY repos.conf /etc/portage/repos.conf/crossdev.conf COPY --from=docker.io/gentoo/portage:latest /var/db/repos/gentoo /var/db/repos/gentoo +RUN emerge -u dev-build/meson && \ + rm /var/cache/distfiles/* RUN emerge app-portage/gentoolkit dev-lang/nasm dev-libs/glib \ dev-python/tomli dev-util/glib-utils dev-vcs/git sys-devel/crossdev && \ rm /var/cache/distfiles/* diff --git a/builder/windows/package.accept_keywords b/builder/windows/package.accept_keywords new file mode 100644 index 0000000..f4784f2 --- /dev/null +++ b/builder/windows/package.accept_keywords @@ -0,0 +1 @@ +dev-build/meson ~amd64