

#Mac os docker big size update#
We can then update the Neo4j version environment variable: $ export NEO4J_VERSION="3.2.3-SNAPSHOT"Īnd then repeat the Docker commands above. To change the destination of the Neo4j artifact, we need to tweak this line in the Makefile: $ git diff Makefile 3.2.3-SNAPSHOT), deploying those to S3, and then building a Docker image based on those archives. I’ve actually been building versions of Neo4j against the HEAD of the Neo4j 3.2 branch (i.e. Putting Neo4j Enterprise 3.2.2 on my Docker Hub isn’t very interesting, though - that version is already on the official Neo4j Docker Hub. $ docker tag c16b6f2738de markhneedham/neo4j:3.2.2 If I wanted to deploy that image to my own Docker Hub I could run the following commands: $ docker login -username=markhneedham We can see that image in Docker land by running the following command: $ docker images | head -n2 Neo4j 3.2.2-enterprise available as: test/18334 It’s still not happy with us! Let’s set that environment variable to the latest released version as of writing: $ export NEO4J_VERSION="3.2.2" Makefile:14: *** NEO4J_VERSION is not set. Let’s retry our original command: $ gmake clean build-enterprise That’s more like it! brew installs make with the ‘g’ prefix and since I’m not sure if anything else on my system relies on the older version of make I won’t bother changing the symlink. There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. License GPLv3+: GNU GPL version 3 or later
#Mac os docker big size install#
We can sort that out by installing a newer version using brew: $ brew install makeĬopyright (C) 1988-2016 Free Software Foundation, Inc. This program built for i386-apple-darwin11.3.0 There is NO warranty not even for MERCHANTABILITY or FITNESS FOR A This is free software see the source for copying conditions. Stop.ĭenied at the first hurdle! What version of make have we got on this machine? $ make -versionĬopyright (C) 2006 Free Software Foundation, Inc. Makefile:9: *** This Make does not support. If we want to build a Docker image for Neo4j Enterprise Edition, we can run the following build target: $ make clean build-enterprise

There’s already a docker-neo4j repository so we’ll just tweak the files in there to achieve what we want. I sometimes need to create custom Neo4j Docker images to try things out and wanted to share my workflow (mostly for future Mark but also in case it’s useful to someone else).
