Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Neo4j 3.0.3 #1876

Merged
merged 1 commit into from
Jun 23, 2016
Merged

Publish Neo4j 3.0.3 #1876

merged 1 commit into from
Jun 23, 2016

Conversation

benbc
Copy link
Contributor

@benbc benbc commented Jun 23, 2016

We've moved our "built" image contexts into a separate repo to simplify our build process.

@tianon
Copy link
Member

tianon commented Jun 23, 2016

warning: insecure protocol git:// detected: git://github.com/neo4j/docker-neo4j-publish
diff --git a/neo4j_3.0.2/Dockerfile b/neo4j_3.0.3-enterprise/Dockerfile
similarity index 53%
copy from neo4j_3.0.2/Dockerfile
copy to neo4j_3.0.3-enterprise/Dockerfile
index 42f60d8..b11c459 100644
--- a/neo4j_3.0.2/Dockerfile
+++ b/neo4j_3.0.3-enterprise/Dockerfile
@@ -1,16 +1,12 @@
 FROM java:openjdk-8-jre

-ENV NEO4J_VERSION 3.0.2
-ENV NEO4J_EDITION community
-ENV NEO4J_DOWNLOAD_SHA256 3daac469e0ad0f74eb8532ada8019b418e6ebd88da9bac52a4ee3393e18086aa
-ENV NEO4J_DOWNLOAD_ROOT http://dist.neo4j.org
-ENV NEO4J_TARBALL neo4j-$NEO4J_EDITION-$NEO4J_VERSION-unix.tar.gz
-ENV NEO4J_URI $NEO4J_DOWNLOAD_ROOT/$NEO4J_TARBALL
+ENV NEO4J_SHA256 f73ed4faf94087bded5ee34bc2614f09bbedc3b6e25439058526ce5506eb127e
+ENV NEO4J_URI http://dist.neo4j.org/neo4j-enterprise-3.0.3-unix.tar.gz



 RUN curl --fail --silent --show-error --location --output neo4j.tar.gz $NEO4J_URI \
-    && echo "$NEO4J_DOWNLOAD_SHA256 neo4j.tar.gz" | sha256sum --check --quiet - \
+    && echo "$NEO4J_SHA256 neo4j.tar.gz" | sha256sum --check --quiet - \
     && tar --extract --file neo4j.tar.gz --directory /var/lib \
     && mv /var/lib/neo4j-* /var/lib/neo4j \
     && rm neo4j.tar.gz
diff --git a/neo4j_3.0.2/docker-entrypoint.sh b/neo4j_3.0.3-enterprise/docker-entrypoint.sh
similarity index 100%
copy from neo4j_3.0.2/docker-entrypoint.sh
copy to neo4j_3.0.3-enterprise/docker-entrypoint.sh
diff --git a/neo4j_3.0.2/Dockerfile b/neo4j_3.0.3/Dockerfile
similarity index 53%
copy from neo4j_3.0.2/Dockerfile
copy to neo4j_3.0.3/Dockerfile
index 42f60d8..0eb8d6a 100644
--- a/neo4j_3.0.2/Dockerfile
+++ b/neo4j_3.0.3/Dockerfile
@@ -1,16 +1,12 @@
 FROM java:openjdk-8-jre

-ENV NEO4J_VERSION 3.0.2
-ENV NEO4J_EDITION community
-ENV NEO4J_DOWNLOAD_SHA256 3daac469e0ad0f74eb8532ada8019b418e6ebd88da9bac52a4ee3393e18086aa
-ENV NEO4J_DOWNLOAD_ROOT http://dist.neo4j.org
-ENV NEO4J_TARBALL neo4j-$NEO4J_EDITION-$NEO4J_VERSION-unix.tar.gz
-ENV NEO4J_URI $NEO4J_DOWNLOAD_ROOT/$NEO4J_TARBALL
+ENV NEO4J_SHA256 20cd65c84a6e5345f17bb03c145190f74e58ec2754c2e515a64b317e34dae2ce
+ENV NEO4J_URI http://dist.neo4j.org/neo4j-community-3.0.3-unix.tar.gz



 RUN curl --fail --silent --show-error --location --output neo4j.tar.gz $NEO4J_URI \
-    && echo "$NEO4J_DOWNLOAD_SHA256 neo4j.tar.gz" | sha256sum --check --quiet - \
+    && echo "$NEO4J_SHA256 neo4j.tar.gz" | sha256sum --check --quiet - \
     && tar --extract --file neo4j.tar.gz --directory /var/lib \
     && mv /var/lib/neo4j-* /var/lib/neo4j \
     && rm neo4j.tar.gz
diff --git a/neo4j_3.0.2/docker-entrypoint.sh b/neo4j_3.0.3/docker-entrypoint.sh
similarity index 100%
copy from neo4j_3.0.2/docker-entrypoint.sh
copy to neo4j_3.0.3/docker-entrypoint.sh

@tianon
Copy link
Member

tianon commented Jun 23, 2016

LGTM

Build test of #1876; 7a4cd08 (neo4j):

$ bashbrew build neo4j:2.3.3
warning: insecure protocol git:// detected: git://github.com/neo4j/docker-neo4j
Building bashbrew/cache:83d29babb14628a0b0e3a43d3d43c206184ce2c2aef4be537c9edb89e2c756e5 (neo4j:2.3.3)
Tagging neo4j:2.3.3
Tagging neo4j:2.3

$ test/run.sh neo4j:2.3.3
testing neo4j:2.3.3
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build neo4j:2.3.3-enterprise
Using bashbrew/cache:66438bf3fccb36b67ef39b756e02b8c0eb76f629e67732730c746ede75ef18b8 (neo4j:2.3.3-enterprise)
Tagging neo4j:2.3.3-enterprise
Tagging neo4j:2.3-enterprise

$ test/run.sh neo4j:2.3.3-enterprise
testing neo4j:2.3.3-enterprise
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build neo4j:3.0.3
warning: insecure protocol git:// detected: git://github.com/neo4j/docker-neo4j-publish
Building bashbrew/cache:ea075e9244119a5dd732fbb91cd4450faa4e8bde7ba6dd1b39e45e280d95adad (neo4j:3.0.3)
Tagging neo4j:3.0.3
Tagging neo4j:3.0
Tagging neo4j:latest

$ test/run.sh neo4j:3.0.3
testing neo4j:3.0.3
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed


$ bashbrew build neo4j:3.0.3-enterprise
Building bashbrew/cache:0853083c40edfba3f3baafe0c6abc9f39dcca86709f2800d61e25706feed2a4a (neo4j:3.0.3-enterprise)
Tagging neo4j:3.0.3-enterprise
Tagging neo4j:3.0-enterprise
Tagging neo4j:enterprise

$ test/run.sh neo4j:3.0.3-enterprise
testing neo4j:3.0.3-enterprise
    'utc' [1/4]...passed
    'cve-2014--shellshock' [2/4]...passed
    'no-hard-coded-passwords' [3/4]...passed
    'override-cmd' [4/4]...passed

@tianon tianon merged commit e6a4c51 into docker-library:master Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants