]> git.openstreetmap.org Git - rails.git/blobdiff - Dockerfile
Replaced raw PGSQL testing file with Osmosis-driven XML file
[rails.git] / Dockerfile
index 8fcfa40e32d4165c994baa892597791277d2a7ca..e50699ab9de3b2d3a6dc1cdb1994102a40195f30 100644 (file)
@@ -19,7 +19,7 @@ RUN apt-get update && \
       libxslt1-dev \
       locales \
       nodejs \
-      osmosis \
+      default-jre-headless \
       phantomjs \
       postgresql-client \
       ruby-dev \
@@ -27,6 +27,10 @@ RUN apt-get update && \
     apt-get clean && \
     rm -rf /var/lib/apt/lists/*
 
+# Install current Osmosis
+RUN curl -OL https://github.com/openstreetmap/osmosis/releases/download/0.47.2/osmosis-0.47.2.tgz && \
+    tar -C /usr/local -xzf osmosis-0.47.2.tgz
+
 # Setup app location
 RUN mkdir -p /app
 WORKDIR /app