docker: some minor fixes

This commit is contained in:
ImreSamu 2018-05-19 21:18:04 +02:00
parent 05a3a51591
commit fe38bc987f
3 changed files with 31 additions and 4 deletions

24
.dockerignore Normal file
View File

@ -0,0 +1,24 @@
.git/*
archive/*
intermediate/*
backup/*
10m_cultural/*
110m_physical/*
archive/*
geojson/*
live/*
packages/*
x_tempshape/*
10m_physical/*
50m_cultural/*
housekeeping/*
live_ne/*
updates/*
zip/*
110m_cultural/*
50m_physical/*
tools/*
zips/*

View File

@ -112,6 +112,8 @@ matrix:
- nedocker=YES - nedocker=YES
sudo: required sudo: required
before_install: before_install:
- docker build -t ne_py3wikdata . - docker version
- docker build -t ne_py3wikidata .
- docker images
script: script:
- docker run -it -v $(pwd):/ne ne_py3wikdata bash run_all.sh - docker run -it -v $(pwd):/ne ne_py3wikidata bash run_all.sh

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -Eeuo pipefail
python3 ./tools/wikidata/platform_debug_info.py python3 ./tools/wikidata/platform_debug_info.py
time ./tools/wikidata/update.sh fetch time ./tools/wikidata/update.sh fetch
@ -6,4 +7,4 @@ time ./tools/wikidata/update.sh write
cat x_tempshape/update.md cat x_tempshape/update.md
cp -r x_tempshape/10m_cultural/* 10m_cultural/ cp -r x_tempshape/10m_cultural/* 10m_cultural/
cp -r x_tempshape/10m_physical/* 10m_physical/ cp -r x_tempshape/10m_physical/* 10m_physical/
make clean all make clean all