forked from davide/docker-orientdb
-
Notifications
You must be signed in to change notification settings - Fork 63
/
Dockerfile
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.37
ENV ORIENTDB_DOWNLOAD_SPATIAL_MD5 9f64ab5e959f5d9ad9ea5195d6d621d2
ENV ORIENTDB_DOWNLOAD_SPATIAL_SHA1 1748c9779ea7a8cb8fc068fcabf960e1778e8a19
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/