This commit is contained in:
Mathis Logemann 2021-11-15 16:39:10 +01:00
parent c6619d042c
commit c5d3d9c188
2 changed files with 3 additions and 17 deletions

View file

@ -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

View file

@ -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