Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-spearhead
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Global Dynamic Exposure
server-components
containers
docker-spearhead
Merge requests
!6
Remove osm2pgsql from logic.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove osm2pgsql from logic.
feature/switch-to-imposm
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Felix Delattre
requested to merge
feature/switch-to-imposm
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3e7d10d9
1 commit,
3 years ago
2 files
+
9
−
33
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Dockerfile
+
4
−
14
Options
@@ -23,20 +23,12 @@ RUN apt update
RUN
apt
install
--no-install-recommends
-y
\
ca-certificates
\
git
\
osm2pgsql
\
postgresql-client
\
python3
\
python3-pip
\
pyosmium
\
wait-for-it
# Install spearhead
RUN
cd
/usr/local/lib
&&
git clone https://git.gfz-potsdam.de/dynamicexposure/openbuildingmap/spearhead.git
RUN
ln
-s
/usr/local/lib/spearhead/spearhead /usr/local/bin/spearhead
# Install rabotnik rcli
RUN
cd
/srv
&&
git clone https://git.gfz-potsdam.de/dynamicexposure/rabotnik/rcli.git
WORKDIR
/srv/rcli
# Install rabotnik spearhead
RUN
cd
/srv
&&
git clone https://git.gfz-potsdam.de/dynamicexposure/openbuildingmap/spearhead.git
WORKDIR
/srv/spearhead
RUN
pip3
install
-e
.
# Cleanup
@@ -45,6 +37,4 @@ RUN apt-get autoremove --yes $build_dependencies && \
apt-get clean --yes && \
rm -rf /var/lib/apt/* /var/cache/apt/* /root/.cache
VOLUME
["/tmp/import"]
CMD
wait-for-it -t 30 $RABOTNIK_MESSAGE_BUS_HOST:$RABOTNIK_MESSAGE_BUS_PORT -- /usr/local/bin/spearhead
CMD
wait-for-it -t 30 $RABOTNIK_MESSAGE_BUS_HOST:$RABOTNIK_MESSAGE_BUS_PORT -- spearhead
Loading