diff --git a/images/tiler-imposm/Dockerfile b/images/tiler-imposm/Dockerfile index 87a23c73..d8572359 100644 --- a/images/tiler-imposm/Dockerfile +++ b/images/tiler-imposm/Dockerfile @@ -34,6 +34,8 @@ RUN apt-get update && apt-get install -y postgresql-client && \ RUN wget -c https://dl.google.com/go/go1.21.0.linux-amd64.tar.gz -O - | tar -xz -C /usr/local ENV PATH $PATH:/usr/local/go/bin +RUN git clone https://github.com/OpenHistoricalMap/DateFunctions-plpgsql.git /usr/local/datefunctions + WORKDIR /go ENV GOPATH /go RUN git clone https://github.com/omniscale/imposm3.git $GOPATH/src/github.com/omniscale/imposm3 @@ -41,8 +43,6 @@ RUN git clone https://github.com/omniscale/imposm3.git $GOPATH/src/github.com/om WORKDIR $GOPATH/src/github.com/omniscale/imposm3 RUN git checkout v0.14.0 -RUN git clone https://github.com/OpenHistoricalMap/DateFunctions-plpgsql.git /usr/local/datefunctions -WORKDIR /usr/local/datefunctions # Apply fixes or patches (if necessary) RUN sed -i '/setMaxFileSize/d' cache/ldb_pre_121.go