diff --git a/.github/workflows/install-package-and-test.yml b/.github/workflows/install-package-and-test.yml index 9d2e4294..6a682e37 100644 --- a/.github/workflows/install-package-and-test.yml +++ b/.github/workflows/install-package-and-test.yml @@ -11,6 +11,7 @@ on: jobs: install-package-and-test: + continue-on-error: ${{ matrix.experimental || false }} name: ${{ matrix.image }} runs-on: ubuntu-latest strategy: @@ -18,10 +19,13 @@ jobs: image: - "debian:11" - "debian:12" - - "debian:unstable" - "ubuntu:22.04" - "ubuntu:24.04" - - "ubuntu:devel" + include: + - image: "debian:unstable" + experimental: true + - image: "ubuntu:devel" + experimental: true fail-fast: false container: image: ${{ matrix.image }} diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile index 41221ce6..c19604f7 100644 --- a/docker/debian/Dockerfile +++ b/docker/debian/Dockerfile @@ -1,6 +1,7 @@ # Arguments ARG debian_version=12 ARG libmapnik_version=3.1 +ARG runner_additional_packages=libcurl4 libglib2.0 # Builder FROM debian:${debian_version} as builder @@ -53,6 +54,7 @@ FROM debian:${debian_version} as runner ## Arguments ARG debian_version ARG libmapnik_version +ARG runner_additional_packages ## Install runner dependencies RUN --mount=id=debian:${debian_version}-/var/cache/apt,sharing=locked,target=/var/cache/apt,type=cache \ @@ -60,11 +62,9 @@ RUN --mount=id=debian:${debian_version}-/var/cache/apt,sharing=locked,target=/va export DEBIAN_FRONTEND=noninteractive && \ apt-get --yes update && \ apt-get --yes upgrade && \ - apt-get --no-install-recommends --yes install \ + apt-get --no-install-recommends --yes install ${runner_additional_packages} \ apache2 \ libcairo2 \ - libcurl4 \ - libglib2.0 \ libiniparser1 \ libmapnik${libmapnik_version} \ libmemcached11 \ diff --git a/docker/debian/Dockerfile.autotools b/docker/debian/Dockerfile.autotools index e90dd398..99281e45 100644 --- a/docker/debian/Dockerfile.autotools +++ b/docker/debian/Dockerfile.autotools @@ -1,6 +1,7 @@ # Arguments ARG debian_version=12 ARG libmapnik_version=3.1 +ARG runner_additional_packages=libcurl4 libglib2.0 # Builder FROM debian:${debian_version} as builder @@ -44,6 +45,7 @@ FROM debian:${debian_version} as runner ## Arguments ARG debian_version ARG libmapnik_version +ARG runner_additional_packages ## Install runner dependencies RUN --mount=id=debian:${debian_version}-/var/cache/apt,sharing=locked,target=/var/cache/apt,type=cache \ @@ -51,11 +53,9 @@ RUN --mount=id=debian:${debian_version}-/var/cache/apt,sharing=locked,target=/va export DEBIAN_FRONTEND=noninteractive && \ apt-get --yes update && \ apt-get --yes upgrade && \ - apt-get --no-install-recommends --yes install \ + apt-get --no-install-recommends --yes install ${runner_additional_packages} \ apache2 \ libcairo2 \ - libcurl4 \ - libglib2.0 \ libiniparser1 \ libmapnik${libmapnik_version} \ libmemcached11 \ diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index f6f4c5a2..1f69963f 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -127,15 +127,21 @@ services: build: <<: *build_defaults_debian args: - libmapnik_version: "3.1" + libmapnik_version: "4.0" debian_version: unstable + runner_additional_packages: >- + libcurl4t64 + libglib2.0-0t64 debian-unstable-autotools: <<: *service_defaults build: <<: *build_defaults_debian args: - libmapnik_version: "3.1" + libmapnik_version: "4.0" debian_version: unstable + runner_additional_packages: >- + libcurl4t64 + libglib2.0-0t64 dockerfile: docker/debian/Dockerfile.autotools fedora-34: <<: *service_defaults @@ -241,14 +247,14 @@ services: build: <<: *build_defaults_ubuntu args: - libmapnik_version: "3.1" + libmapnik_version: "4.0" ubuntu_version: "devel" ubuntu-devel-autotools: <<: *service_defaults build: <<: *build_defaults_ubuntu args: - libmapnik_version: "3.1" + libmapnik_version: "4.0" ubuntu_version: "devel" dockerfile: docker/ubuntu/Dockerfile.autotools ubuntu-devel-full: @@ -256,7 +262,7 @@ services: build: <<: *build_defaults_ubuntu args: - libmapnik_version: "3.1" + libmapnik_version: "4.0" runner_additional_packages: >- curl gdal-bin