From 205ad1419e81cac0654cbe492012d4868ec86094 Mon Sep 17 00:00:00 2001 From: Daniel Langbein <73987547+langbein-daniel@users.noreply.github.com> Date: Wed, 22 Feb 2023 17:17:03 +0000 Subject: [PATCH] feat: Add tilemaker to PATH. By creating a symlink from `/tilemaker` to `/usr/bin/tilemaker`, one can execute the `tilemaker` command e.g. from within a shell. This makes it possible to use the built tilemaker binary as if it was "installed". If one does a Docker multistep build that uses the tilemaker Docker image, one can then simly use `RUN tilemaker ...` and does not need to know where the binary is actually stored. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 10efe2a2..6c7b7c6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,5 +38,6 @@ COPY --from=src /build/tilemaker . COPY resources /resources COPY process.lua . COPY config.json . +RUN ln -s /tilemaker /usr/bin/tilemaker ENTRYPOINT ["/tilemaker"]