wip
This commit is contained in:
parent
c6619d042c
commit
c5d3d9c188
2 changed files with 3 additions and 17 deletions
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
|
@ -22,7 +22,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# list of Docker images to use as base name for tags
|
# list of Docker images to use as base name for tags
|
||||||
images: |
|
images: |
|
||||||
mathisloge/mapnik
|
|
||||||
ghcr.io/mathisloge/mapnik
|
ghcr.io/mathisloge/mapnik
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
|
@ -35,6 +34,7 @@ jobs:
|
||||||
type=sha
|
type=sha
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
|
18
Dockerfile
18
Dockerfile
|
@ -32,23 +32,9 @@ ENV BUILD_DEPENDENCIES="libicu-dev \
|
||||||
libboost-regex-dev \
|
libboost-regex-dev \
|
||||||
"
|
"
|
||||||
|
|
||||||
ENV RUNTIME_DEPENDENCIES="libfreetype6 \
|
RUN apt install -y $BUILD_DEPENDENCIES
|
||||||
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 cmake --preset linux-gcc-release -DBUILD_DEMO_VIEWER=OFF -DBUILD_TESTING=OFF -DBUILD_DEMO_CPP=OFF -DBUILD_BENCHMARK=OFF
|
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
|
||||||
RUN cmake --build --preset linux-gcc-release --target install
|
RUN cmake --build --preset linux-gcc-release --target install
|
||||||
|
|
||||||
RUN apt autoremove -y --purge $BUILD_DEPENDENCIES
|
RUN rm -rf build
|
||||||
|
|
Loading…
Reference in a new issue