Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Update Tegola version

Russ Garrett2f21d0a0b4a9
diff --git a/tegola/Dockerfile b/tegola/Dockerfile
index 49e6e9a..604c919 100644
--- a/tegola/Dockerfile
+++ b/tegola/Dockerfile
@@ -8,11 +8,11 @@ COPY ${TEGOLA_CONFIG}/layers.yml ${TEGOLA_CONFIG}/tegola.yml ./
RUN pip install PyYAML toml
RUN python generate_tegola_config.py ./tegola.yml ./layers.yml > ./config.toml
-FROM gospatial/tegola:v0.16.0
+FROM gospatial/tegola:v0.20.0
ENV BOUNDS="-180,-85.0511,180,85.0511" \
DB_URI=postgres://user:password@host:5432/database
-
+
COPY --from=build /app/config.toml /etc/tegola/config.toml
EXPOSE 80
diff --git a/tegola/Dockerfile.expiry b/tegola/Dockerfile.expiry
index 86f9e3c..3703101 100644
--- a/tegola/Dockerfile.expiry
+++ b/tegola/Dockerfile.expiry
@@ -9,11 +9,11 @@ COPY ${TEGOLA_CONFIG}/layers.yml ${TEGOLA_CONFIG}/tegola.yml ./
RUN pip install PyYAML toml
RUN python generate_tegola_config.py ./tegola.yml ./layers.yml > ./config.toml
-FROM gospatial/tegola:v0.16.0
+FROM gospatial/tegola:v0.20.0
ENV BOUNDS="-180,-85.0511,180,85.0511" \
DB_URI=postgres://user:password@host:5432/database
-
+
COPY --from=build /app/config.toml /etc/tegola/config.toml
RUN apk update && \