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

Release OrientDB v 3.0.20 #6018

Merged
merged 5 commits into from
Jun 10, 2019
Merged

Conversation

luigidellaquila
Copy link
Contributor

No description provided.

@tianon
Copy link
Member

tianon commented Jun 4, 2019

Looks like this is now hitting docker-library/openjdk#322 😞

@luigidellaquila
Copy link
Contributor Author

Thank you very much @tianon, I completely missed it.
I'm working to a fix

Thanks!

Luigi

@luigidellaquila
Copy link
Contributor Author

Hi @tianon

I changed the images for latest release, now it should be good.
Should I also change the dockerfiles for the old releases (see 2.2.37) or is it OK to leave them as they are?

Thanks

Luigi

@luigidellaquila
Copy link
Contributor Author

Ok, never mind, I see Travis failed.
I'm changing the other tags as well

Thanks

Luigi

@luigidellaquila
Copy link
Contributor Author

Hi @tianon

Ok, now it should be good

Thanks

Luigi

@yosifkit

This comment has been minimized.

@yosifkit
Copy link
Member

yosifkit commented Jun 6, 2019

To keep the image a little smaller, you should add && rm -rf /var/lib/apt/lists/* to your update and install lines to clear out the apt package lists.

@luigidellaquila
Copy link
Contributor Author

OK, doing it now

Thanks!

Luigi

@luigidellaquila
Copy link
Contributor Author

Done

@tianon

This comment has been minimized.

@tianon
Copy link
Member

tianon commented Jun 7, 2019

As written, this won't actually save any space (since it's happening in a later layer) -- it needs to be part of the RUN line that does apt-get update && apt-get install (after they're done):

RUN apt-get update \
    && apt-get install -y curl wget \
    && rm -rf /var/lib/apt/lists/*

@luigidellaquila
Copy link
Contributor Author

Done

@yosifkit
Copy link
Member

Diff:
warning: insecure protocol git:// detected: git://github.com/orientechnologies/orientdb-docker
diff --git a/_bashbrew-arches b/_bashbrew-arches
index ad3e284..34a26ee 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -2,5 +2,5 @@ orientdb:2.0.18 @ amd64
 orientdb:2.1.25 @ amd64
 orientdb:2.2.37 @ amd64
 orientdb:2.2.37-spatial @ amd64
-orientdb:3.0.19-tp3 @ amd64
+orientdb:3.0.20-tp3 @ amd64
 orientdb:latest @ amd64
diff --git a/_bashbrew-list b/_bashbrew-list
index d2310e5..1697097 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -2,6 +2,6 @@ orientdb:2.0.18
 orientdb:2.1.25
 orientdb:2.2.37
 orientdb:2.2.37-spatial
-orientdb:3.0.19
-orientdb:3.0.19-tp3
+orientdb:3.0.20
+orientdb:3.0.20-tp3
 orientdb:latest
diff --git a/orientdb_2.1.25/Dockerfile b/orientdb_2.1.25/Dockerfile
index 289d9c4..d2e6ffe 100644
--- a/orientdb_2.1.25/Dockerfile
+++ b/orientdb_2.1.25/Dockerfile
@@ -2,7 +2,7 @@
 # Dockerfile to run an OrientDB (Graph) Container
 ############################################################
 
-FROM openjdk:8-jdk-alpine
+FROM openjdk:8-jdk-slim
 
 MAINTAINER OrientDB LTD (info@orientdb.com)
 
@@ -10,8 +10,9 @@ ENV ORIENTDB_VERSION 2.1.25
 ENV ORIENTDB_DOWNLOAD_MD5 054da3fb7c56e7822b2af116966576ce
 ENV ORIENTDB_DOWNLOAD_SHA1 b7b08242b40117ac8eb9a201f8704bde839dfcb8
 
-RUN apk add --update tar \
-    && rm -rf /var/cache/apk/*
+RUN apt update \
+    && apt install -y curl wget \
+    && rm -rf /var/lib/apt/lists/*
 
 #download distribution tar, untar and delete databases
 RUN mkdir /orientdb && \
diff --git a/orientdb_2.2.37/Dockerfile b/orientdb_2.2.37/Dockerfile
index c206523..4f5ab06 100644
--- a/orientdb_2.2.37/Dockerfile
+++ b/orientdb_2.2.37/Dockerfile
@@ -2,7 +2,7 @@
 # Dockerfile to run an OrientDB (Graph) Container
 ############################################################
 
-FROM openjdk:8-jdk-alpine
+FROM openjdk:8-jdk-slim
 
 MAINTAINER OrientDB LTD (info@orientdb.com)
 
@@ -16,8 +16,9 @@ ENV ORIENTDB_DOWNLOAD_SHA1 469c402dde029f265fe905de2c08b43960e81f07
 
 ENV ORIENTDB_DOWNLOAD_URL ${ORIENTDB_DOWNLOAD_SERVER:-http://central.maven.org/maven2/com/orientechnologies}/orientdb-community/$ORIENTDB_VERSION/orientdb-community-$ORIENTDB_VERSION.tar.gz
 
-RUN apk add --update tar curl \
-    && rm -rf /var/cache/apk/*
+RUN apt update \
+    && apt install -y curl wget \
+    && rm -rf /var/lib/apt/lists/*
 
 #download distribution tar, untar and delete databases
 RUN mkdir /orientdb && \
diff --git a/orientdb_3.0.19-tp3/Dockerfile b/orientdb_3.0.20-tp3/Dockerfile
similarity index 84%
rename from orientdb_3.0.19-tp3/Dockerfile
rename to orientdb_3.0.20-tp3/Dockerfile
index 10df2c8..5c38d51 100644
--- a/orientdb_3.0.19-tp3/Dockerfile
+++ b/orientdb_3.0.20-tp3/Dockerfile
@@ -2,7 +2,7 @@
 # Dockerfile to run an OrientDB (Graph) Container
 ############################################################
 
-FROM openjdk:8-jdk-alpine
+FROM openjdk:8-jdk-slim
 
 MAINTAINER OrientDB LTD (info@orientdb.com)
 
@@ -10,14 +10,15 @@ MAINTAINER OrientDB LTD (info@orientdb.com)
 #   docker build -t mine --build-arg ORIENTDB_DOWNLOAD_SERVER=http://repo1.maven.org/maven2/com/orientechnologies/ .
 ARG ORIENTDB_DOWNLOAD_SERVER
 
-ENV ORIENTDB_VERSION 3.0.19
-ENV ORIENTDB_DOWNLOAD_MD5 e11ff3c98a453eba9f5ce26332f4bc47
-ENV ORIENTDB_DOWNLOAD_SHA1 2267f3537cfeb2eb79d46d05e177426d610c3259
+ENV ORIENTDB_VERSION 3.0.20
+ENV ORIENTDB_DOWNLOAD_MD5 51169bb82df17710f5c2054f9486a836
+ENV ORIENTDB_DOWNLOAD_SHA1 460840d110bd86f558af20c0bd0288a0037faeda
 
 ENV ORIENTDB_DOWNLOAD_URL ${ORIENTDB_DOWNLOAD_SERVER:-http://central.maven.org/maven2/com/orientechnologies}/orientdb-tp3/$ORIENTDB_VERSION/orientdb-tp3-$ORIENTDB_VERSION.tar.gz
 
-RUN apk add --update tar curl \
-    && rm -rf /var/cache/apk/*
+RUN apt update \
+    && apt install -y curl wget \
+    && rm -rf /var/lib/apt/lists/* 
 
 #download distribution tar, untar and DON'T delete databases (tp3 endopoint won't works if db isn't present)
 RUN mkdir /orientdb && \
diff --git a/orientdb_3.0.19-tp3/gremlin-server.yaml b/orientdb_3.0.20-tp3/gremlin-server.yaml
similarity index 100%
rename from orientdb_3.0.19-tp3/gremlin-server.yaml
rename to orientdb_3.0.20-tp3/gremlin-server.yaml
diff --git a/orientdb_latest/Dockerfile b/orientdb_latest/Dockerfile
index 4d06dc4..5c992bb 100644
--- a/orientdb_latest/Dockerfile
+++ b/orientdb_latest/Dockerfile
@@ -2,7 +2,7 @@
 # Dockerfile to run an OrientDB (Graph) Container
 ############################################################
 
-FROM openjdk:8-jdk-alpine
+FROM openjdk:8-jdk-slim
 
 MAINTAINER OrientDB LTD (info@orientdb.com)
 
@@ -10,14 +10,15 @@ MAINTAINER OrientDB LTD (info@orientdb.com)
 #   docker build -t mine --build-arg ORIENTDB_DOWNLOAD_SERVER=http://repo1.maven.org/maven2/com/orientechnologies/ .
 ARG ORIENTDB_DOWNLOAD_SERVER
 
-ENV ORIENTDB_VERSION 3.0.19
-ENV ORIENTDB_DOWNLOAD_MD5 14d80dae8ca7c0d1666ffb041143bc4e
-ENV ORIENTDB_DOWNLOAD_SHA1 56097490f327e2c4cf50aa62317c60c51ef160b0
+ENV ORIENTDB_VERSION 3.0.20
+ENV ORIENTDB_DOWNLOAD_MD5 b6d6899deda81d8e6e3f368c36331bda
+ENV ORIENTDB_DOWNLOAD_SHA1 03063be6f3c87f0efbb88e5f34e9be9f187b3ab8
 
 ENV ORIENTDB_DOWNLOAD_URL ${ORIENTDB_DOWNLOAD_SERVER:-http://central.maven.org/maven2/com/orientechnologies}/orientdb-community/$ORIENTDB_VERSION/orientdb-community-$ORIENTDB_VERSION.tar.gz
 
-RUN apk add --update tar curl \
-    && rm -rf /var/cache/apk/*
+RUN apt update \
+    && apt install -y curl wget \
+    && rm -rf /var/lib/apt/lists/*
 
 #download distribution tar, untar and delete databases
 RUN mkdir /orientdb && \

@yosifkit
Copy link
Member

Build test of #6018; b9743b9; amd64 (orientdb):

$ bashbrew build orientdb:2.0.18
Building bashbrew/cache:3b1836b4f1271f2fd4d47eecf49fc2bfe9d854a4bb2c16c1e2c149f4b0136140 (orientdb:2.0.18)
Tagging orientdb:2.0.18

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


$ bashbrew build orientdb:2.1.25
Building bashbrew/cache:886c93b364a38f247dd782085a97dfa272164021d33ef70641110cfc27ad0a1f (orientdb:2.1.25)
Tagging orientdb:2.1.25

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


$ bashbrew build orientdb:2.2.37
Building bashbrew/cache:bbbd697e09e79369169c56c65cd2644f54e0ac85e5d3e9f58f8567995e7f6feb (orientdb:2.2.37)
Tagging orientdb:2.2.37

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


$ bashbrew build orientdb:2.2.37-spatial
Building bashbrew/cache:3705ce27049ff7df3bc12680061009cd7ee1047cc61c59adfcce4ccd6ec10a2c (orientdb:2.2.37-spatial)
Tagging orientdb:2.2.37-spatial

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


$ bashbrew build orientdb:3.0.20
Building bashbrew/cache:a53b16923e715b38b5f0946449890b6255d637b8779aae444e3f41a26ce98353 (orientdb:3.0.20)
Tagging orientdb:3.0.20
Tagging orientdb:latest

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


$ bashbrew build orientdb:3.0.20-tp3
Building bashbrew/cache:d9a069a4eb4f3866edc50cfefef4e554b91d8c4d6de47cb5e282ab350e4aaaec (orientdb:3.0.20-tp3)
Tagging orientdb:3.0.20-tp3

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

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.

4 participants