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