diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 15c12146c..480044ded 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -22,7 +22,6 @@ jobs: with: # list of Docker images to use as base name for tags images: | - mathisloge/mapnik ghcr.io/mathisloge/mapnik # generate Docker tags based on the following events/attributes tags: | @@ -35,6 +34,7 @@ jobs: type=sha - name: Set up QEMU uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 diff --git a/Dockerfile b/Dockerfile index 34ceb8d9d..e4bb5ef02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,23 +32,9 @@ ENV BUILD_DEPENDENCIES="libicu-dev \ libboost-regex-dev \ " -ENV RUNTIME_DEPENDENCIES="libfreetype6 \ - libharfbuzz-bin \ - libxml2 \ - libjpeg8 \ - libtiff5 \ - libwebp6 \ - libcairo2 \ - libproj19 \ - libgdal28 \ - libboost-filesystem1.74-dev \ - libboost-program-options1.74.0 \ - libboost-regex1.74.0 \ - " - -RUN apt install -y $BUILD_DEPENDENCIES $RUNTIME_DEPENDENCIES +RUN apt install -y $BUILD_DEPENDENCIES RUN cmake --preset linux-gcc-release -DBUILD_DEMO_VIEWER=OFF -DBUILD_TESTING=OFF -DBUILD_DEMO_CPP=OFF -DBUILD_BENCHMARK=OFF RUN cmake --build --preset linux-gcc-release RUN cmake --build --preset linux-gcc-release --target install -RUN apt autoremove -y --purge $BUILD_DEPENDENCIES +RUN rm -rf build