aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-27 14:41:06 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-27 14:41:06 +1000
commit6fc8dc4617916d57427a85478b4448e0684e3798 (patch)
treee922d537d7f4c436e34998024c1966ac81f9c04f /docker
parentb4a605492dbad1eb95db93221deefbf02e3069de (diff)
starting to sketch out candidates stage
Diffstat (limited to 'docker')
-rw-r--r--docker/candidate.Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/candidate.Dockerfile b/docker/candidate.Dockerfile
new file mode 100644
index 0000000..06421f7
--- /dev/null
+++ b/docker/candidate.Dockerfile
@@ -0,0 +1,7 @@
+FROM debian:buster-slim
+RUN apt-get -y update && apt-get -y install curl gnupg make git
+RUN curl -fsSL https://deb.nodesource.com/setup_15.x | bash -
+RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
+RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
+RUN apt-get -y update && apt-get -y install nodejs yarn python3
+RUN git clone https://github.com/grigory-rechistov/osm-bulk-upload.git upload && sed -i s/api\.openstreetmap\.org/master.apis.dev.openstreetmap.org/g upload/*.py