Skip to content

Commit

Permalink
Update version to 4.3.0 and add contour capability
Browse files Browse the repository at this point in the history
  • Loading branch information
zoenglinghou committed Oct 16, 2024
1 parent 1371289 commit 4d0bc58
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
ARG BASE_IMAGE=debian:12-slim
FROM ${BASE_IMAGE}

FROM ${BASE_IMAGE} AS BASE

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Stage names should be lowercase

StageNameCasing: Stage name 'BASE' should be lowercase More info: https://docs.docker.com/go/dockerfile/rule/stage-name-casing/
ARG WAHOOMC_VERSION=4.3.0

# Install System Dependencies
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/var/lib/apt \
DEBIAN_FRONTEND=noninteractive apt-get -qq -y update && \
apt-get install -qq -y --no-install-recommends \
DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends \
curl \
default-jre \
osmium-tool \
osmosis \
Expand All @@ -24,7 +27,14 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
# Install wahoomc
RUN --mount=type=cache,target=/root/.cache/pip \
pip install --break-system-packages \
wahoomc
wahoomc==$WAHOOMC_VERSION

# For contours
RUN --mount=type=cache,target=/tmp \
curl -L http://katze.tfiu.de/projects/phyghtmap/phyghtmap_2.23.orig.tar.gz -o /tmp/phyghtmap_2.tar.gz && \
echo "8c0eae73f1d576b0d0177357d026eee30325e1249dedc03f54ebed451cc3b013 /tmp/phyghtmap_2.tar.gz" | sha256sum --check --status && \
tar -xzf /tmp/phyghtmap_2.tar.gz -C /tmp && \
cd /tmp/phyghtmap-2.23 && python3 setup.py install

# Set up runtime environment
RUN mkdir -p /app
Expand Down

0 comments on commit 4d0bc58

Please sign in to comment.