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

Support 5.3 apps #9

Open
joshmoore opened this issue Feb 15, 2018 · 0 comments
Open

Support 5.3 apps #9

joshmoore opened this issue Feb 15, 2018 · 0 comments

Comments

@joshmoore
Copy link
Member

For apps that need to perform imports, the current logic is faulty since omego will download latest. However, the compose environment variables are not available to the docker script. This changes works around the issue but is not ideal:

[jamoore@idr1-slot2 .omero]$ git diff
diff --git a/docker b/docker
index 86c0b58..c053d51 100755
--- a/docker
+++ b/docker
@@ -115,7 +115,8 @@ install() {
 }

 java() {
-    $ACTION docker exec -e USER_AGENT=Travis -u root $CID /opt/omero/omego/bin/omego download java --sym /opt/omero/java
+    . .omero/.env
+    $ACTION docker exec -e USER_AGENT=Travis -u root $CID /opt/omero/omego/bin/omego download java --release ${OMERO_SERVER_VERSION} -
     $ACTION docker exec $CID ln -s /opt/omero/java/libs /opt/omero/web/OMERO.web/lib/client
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant