forked from davide/docker-orientdb
-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathDockerfile
15 lines (11 loc) · 862 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
############################################################
# Dockerfile for OrientDB with spatial module and neo4j connector
############################################################
FROM orientdb:2.2.26
ENV ORIENTDB_DOWNLOAD_SPATIAL_MD5 184b497995869c3213eb4aa6a78130fc
ENV ORIENTDB_DOWNLOAD_SPATIAL_SHA1 70ff26a011902c744df18fab837890e7b581de1b
ENV ORIENTDB_DOWNLOAD_SPATIAL_URL ${ORIENTDB_DOWNLOAD_SERVER:-http://central.maven.org/maven2/com/orientechnologies}/orientdb-spatial/$ORIENTDB_VERSION/orientdb-spatial-$ORIENTDB_VERSION-dist.jar
RUN wget $ORIENTDB_DOWNLOAD_SPATIAL_URL \
&& echo "$ORIENTDB_DOWNLOAD_SPATIAL_MD5 *orientdb-spatial-$ORIENTDB_VERSION-dist.jar" | md5sum -c - \
&& echo "$ORIENTDB_DOWNLOAD_SPATIAL_SHA1 *orientdb-spatial-$ORIENTDB_VERSION-dist.jar" | sha1sum -c - \
&& mv orientdb-spatial-*-dist.jar /orientdb/lib/