You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just the tip of the iceberg, though. The bigger challenge is that the Python version has changed to 3.10, which is not available on the current image used for compiling (onezoom/alpine-compass-python-perl-node:12). In fact, it's difficult to get Python 3.10 installed on a current node image, because it's not the latest Python version (and Python 3.11 is incompatible -- I tried). I managed to get this to compile using python:3.10-alpine as a base image for compilation, and installing the latest version of nodejs and npm. Note that it didn't work to simply use an older Python version (3.8) because other packages it depends on no longer support that version.
I discovered this because I wanted to create my own staging instance on Google Cloud to test out changes on my fork privately from my phone without having to leave my desktop running. My goal was to extend from onezoom/oztree so that I could reuse the database. This ended up being quite a bit more work to get going than I expected, but at least it led me to discover the above issues (and resolutions). You can see my working Dockerfile here, but bear in mind that it's not a drop-in replacement for this Dockerfile, because it assumes this image already exists.
The text was updated successfully, but these errors were encountered:
Gah, sorry about causing all the extra work for you. We are currently running Python 3.10, so I guess I should rebuild those alpine-compass-python-perl-node images using python 3.10.
I think with the move to the new tree-build repo, we are not using perl any more, so some of this can probably be simplified.
The docker image does not currently build. This can be reproduced with simply:
The current failure is:
This is because of recent changes to Gruntfile.js that expect appconfig.ini at build time:
https://github.com/OneZoom/OZtree/blob/118bfba9b122d812386e438fb6d6b29cb51aed7e/Gruntfile.js#L42
This is just the tip of the iceberg, though. The bigger challenge is that the Python version has changed to 3.10, which is not available on the current image used for compiling (
onezoom/alpine-compass-python-perl-node:12
). In fact, it's difficult to get Python 3.10 installed on a current node image, because it's not the latest Python version (and Python 3.11 is incompatible -- I tried). I managed to get this to compile usingpython:3.10-alpine
as a base image for compilation, and installing the latest version ofnodejs
andnpm
. Note that it didn't work to simply use an older Python version (3.8) because other packages it depends on no longer support that version.I discovered this because I wanted to create my own staging instance on Google Cloud to test out changes on my fork privately from my phone without having to leave my desktop running. My goal was to extend from
onezoom/oztree
so that I could reuse the database. This ended up being quite a bit more work to get going than I expected, but at least it led me to discover the above issues (and resolutions). You can see my working Dockerfile here, but bear in mind that it's not a drop-in replacement for this Dockerfile, because it assumes this image already exists.The text was updated successfully, but these errors were encountered: