Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FACT Elevation Computer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACT
FACT Data Services
FACT Elevation Computer
Commits
3df5dd35
Commit
3df5dd35
authored
1 year ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
Removed unnecessary scripots for downloading files and updating system.
parent
c40d152b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+0
-5
0 additions, 5 deletions
Dockerfile
other/load_maps.sh
+0
-18
0 additions, 18 deletions
other/load_maps.sh
other/update_sys.sh
+0
-8
0 additions, 8 deletions
other/update_sys.sh
with
0 additions
and
31 deletions
Dockerfile
+
0
−
5
View file @
3df5dd35
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
other/load_maps.sh
deleted
100755 → 0
+
0
−
18
View file @
c40d152b
#!/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
This diff is collapsed.
Click to expand it.
other/update_sys.sh
deleted
100755 → 0
+
0
−
8
View file @
c40d152b
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment