Update dockerfile to include armv6/7 dependencies

pull/32/head
Mark Jessop 2021-04-25 09:42:24 +09:30
rodzic 7ef5804f31
commit 65578a4152
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -39,7 +39,11 @@ FROM python:3.7-slim-buster
EXPOSE 5001/tcp
# Upgrade base packages and install application dependencies.
RUN apt-get update && \
RUN case $(uname -m) in \
"armv6l") extra_packages="libatlas3-base libgfortran5" ;; \
"armv7l") extra_packages="libatlas3-base libgfortran5" ;; \
esac && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
libeccodes0 \

Wyświetl plik

@ -166,8 +166,11 @@ tile_server_enabled = False
# Path to map tiles. For FoxtrotGPS, this is usually ~/Maps/
# NOTE: This must be an ABSOLUTE directory, i.e. /home/pi/Maps/ , using ~/Maps/ will not work.
tile_server_path = /home/pi/Maps/
# If running chasemapper within a docker container, comment out the above line, and uncomment the following:
# tile_server_path = /opt/chasemapper/Maps/
#
# Habitat / SondeHub Chase-Car Position Upload