dont git clone during run and import

This commit is contained in:
Greg committed 2022-02-28 12:02:53 -05:00
1 parent a544a7fb6e
commit 9f097756bf
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -199,6 +199,8 @@ COPY --from=compiler-modtile-renderd /root/mod_tile/osmosis-db_replag /usr/bin/o
# Install helper script
COPY --from=compiler-helper-script /home/renderer/src/regional /home/renderer/src/regional
RUN git clone --single-branch --branch v5.3.1 https://github.com/gravitystorm/openstreetmap-carto.git --depth 1 /home/renderer/src/openstreetmap-carto-backup
# Start running
COPY run.sh /
ENTRYPOINT ["/run.sh"]
+1 -1
View File
@@ -31,7 +31,7 @@ set -x
if [ ! -d /home/renderer/src/openstreetmap-carto ]; then
git clone --single-branch --branch v5.3.1 https://github.com/gravitystorm/openstreetmap-carto.git --depth 1 /home/renderer/src/openstreetmap-carto
mv /home/renderer/src/openstreetmap-carto-backup /home/renderer/src/openstreetmap-carto
fi