summaryrefslogtreecommitdiff
path: root/src/local/docker/docker-build-neo4j.sh
blob: 9be1ce94251411b9246bfe62ba1efe80f9bd3c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

if [ ! -e .git ]; then
    echo must run from git checkout directory, the one with the .git directory.
    exit 0
fi
ROOT_DOCKER_DIR=$(dirname $(realpath $0))/../../../res/docker/
NEO4J_TARBALL=$ROOT_DOCKER_DIR/neo4j-community-2.2.1-unix.tar.gz
if [ ! -e $NEO4J_TARBALL ]; then
    echo downloading neo4j community edition 2.2.1
    wget http://neo4j.com/artifact.php?name=neo4j-community-2.2.1-unix.tar.gz -O$NEO4J_TARBALL
fi
docker build -t rhizi/neo4j:2.2.1 -f res/docker/3rd/neo4j-fedora/Dockerfile res/docker