mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-01 02:23:45 +00:00
Docker fixes
This commit is contained in:
@@ -9,7 +9,8 @@ RUN apt-get update -qq \
|
||||
curl \
|
||||
osmctools \
|
||||
rclone \
|
||||
sftp \
|
||||
openssh-client \
|
||||
git \
|
||||
sshpass \
|
||||
vim \
|
||||
wget \
|
||||
@@ -39,6 +40,10 @@ RUN apt-get update -qq \
|
||||
zlib1g-dev \
|
||||
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*;
|
||||
|
||||
# Allow pip to install system-wide in the container
|
||||
RUN rm -f /usr/lib/python*/EXTERNALLY-MANAGED
|
||||
RUN pip3 install "protobuf<4"
|
||||
|
||||
RUN mkdir /root/OM
|
||||
# When running, bind mount the repo here
|
||||
RUN mkdir /root/OM/organicmaps
|
||||
|
||||
@@ -17,6 +17,10 @@ set -e
|
||||
#UK_POSTCODES_URL:/home/planet/postcodes/gb-postcode-data/gb_postcodes.csv
|
||||
#US_POSTCODES_URL:/home/planet/postcodes/us-postcodes/uszips.csv
|
||||
|
||||
echo "<$(date +%T)> Setting git as safe dir..."
|
||||
|
||||
git config --global --add safe.directory /root/OM/organicmaps
|
||||
|
||||
echo "<$(date +%T)> Starting..."
|
||||
|
||||
# Prepare paths
|
||||
|
||||
Reference in New Issue
Block a user