Skip to content
Snippets Groups Projects
Commit 3df5dd35 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Removed unnecessary scripots for downloading files and updating system.

parent c40d152b
No related branches found
No related tags found
No related merge requests found
...@@ -41,11 +41,6 @@ COPY other /app/other ...@@ -41,11 +41,6 @@ COPY other /app/other
COPY opentopodata /app/opentopodata COPY opentopodata /app/opentopodata
COPY data/aster30m/*.tif /app/data/aster30m/ COPY data/aster30m/*.tif /app/data/aster30m/
# update and install system
RUN /app/other/update_sys.sh
# install maps
#RUN /app/other/load_maps.sh
RUN echo > /etc/nginx/sites-available/default && \ RUN echo > /etc/nginx/sites-available/default && \
cp /app/other/nginx.conf /etc/nginx/conf.d/nginx.conf && \ cp /app/other/nginx.conf /etc/nginx/conf.d/nginx.conf && \
cp /app/other/supervisord.conf /etc/supervisor/conf.d/supervisord.conf cp /app/other/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
......
#!/bin/bash
# create the directory
#mkdir /app/data/aster30m
# download list of URLs
#wget https://www.opentopodata.org/datasets/aster30m_urls.txt -O /app/data/aster30m/aster30m_urls.txt
# download files
while read p; do
# download
wget --user=ricboero --password=SISeconm0d2023! $p -P /app/data/aster30m
# unzip
done < /app/data/aster30m/aster30m_urls.txt
# final removal of file list
rm /app/data/aster30m/aster30m_urls.txt
#!/bin/bash
#!/bin/bash
echo "*** Updating system:"
apt update -y && apt upgrade -y
echo "*** Loading packages:"
echo "*** *** UNZIP & WGET"
apt install -y unzip wget
echo "*** *** GIT & APT-UTILS"
apt install -y git apt-utils
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment