From 00108d35c1b1e15c68a15d9cd6e4369d72ee3ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 3 Jun 2024 10:14:00 +0200 Subject: [PATCH] Fix GDAL/Ubuntu Upgrade --- .github/workflows/main.yaml | 2 +- Dockerfile | 4 ++-- Makefile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e332985b..be17351d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,7 +16,7 @@ jobs: main: name: Continuous integration runs-on: ubuntu-22.04 - timeout-minutes: 40 + timeout-minutes: 50 if: "!startsWith(github.event.head_commit.message, '[skip ci] ')" steps: diff --git a/Dockerfile b/Dockerfile index 91e5e4b4..a3138164 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/var/cache,sharing=locked \ libfreetype6-dev libfcgi-dev libcurl4-gnutls-dev libcairo2-dev libxml2-dev \ libxslt1-dev python3-dev php-dev libexempi-dev lcov lftp ninja-build git curl \ clang libprotobuf-c-dev protobuf-c-compiler libharfbuzz-dev libcairo2-dev librsvg2-dev \ - && ln -s /usr/local/lib/libproj.so.25 /usr/local/lib/libproj.so + && ln -s /usr/lib/*-linux-gnu/libproj.so.*[0] $(echo /usr/lib/*-linux-gnu)/libproj.so ARG MAPSERVER_BRANCH ARG MAPSERVER_REPO=https://github.com/mapserver/mapserver @@ -89,7 +89,7 @@ RUN --mount=type=cache,target=/var/cache,sharing=locked \ && apt-get upgrade --assume-yes \ && apt-get install --assume-yes --no-install-recommends ca-certificates apache2 libapache2-mod-fcgid \ libfribidi0 librsvg2-2 libpng16-16 libgif7 libfcgi0ldbl \ - libxslt1.1 libprotobuf-c1 libaio1 glibc-tools + libxslt1.1 libprotobuf-c1 libaio1t64 glibc-tools RUN a2enmod fcgid headers status \ && a2dismod -f auth_basic authn_file authn_core authz_user autoindex dir \ diff --git a/Makefile b/Makefile index 9553c619..844eb637 100644 --- a/Makefile +++ b/Makefile @@ -20,11 +20,11 @@ all: acceptance .PHONY: build build: ## Build the Docker image - docker $(DOCKER_BUILDX) build $(DOCKER_BUILD_ARGS) --tag=$(DOCKER_IMAGE):$(DOCKER_TAG) --target=runner --build-arg=MAPSERVER_BRANCH=$(MAPSERVER_BRANCH) --build-arg=WITH_ORACLE=$(WITH_ORACLE) . + $(shell which docker) $(DOCKER_BUILDX) build $(DOCKER_BUILD_ARGS) --tag=$(DOCKER_IMAGE):$(DOCKER_TAG) --target=runner --build-arg=MAPSERVER_BRANCH=$(MAPSERVER_BRANCH) --build-arg=WITH_ORACLE=$(WITH_ORACLE) . .PHONY: build-no-cache build-no-cache: ## Build the Docker image (no cache) - docker $(DOCKER_BUILDX) build --no-cache $(DOCKER_BUILD_ARGS) --tag=$(DOCKER_IMAGE):$(DOCKER_TAG) --target=runner --build-arg=MAPSERVER_BRANCH=$(MAPSERVER_BRANCH) --build-arg=WITH_ORACLE=$(WITH_ORACLE) . + $(shell which docker) $(DOCKER_BUILDX) build --no-cache $(DOCKER_BUILD_ARGS) --tag=$(DOCKER_IMAGE):$(DOCKER_TAG) --target=runner --build-arg=MAPSERVER_BRANCH=$(MAPSERVER_BRANCH) --build-arg=WITH_ORACLE=$(WITH_ORACLE) . .PHONY: acceptance acceptance: build ## Run the acceptance tests