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
Docker Hub build failures #1245
Comments
Hi @andrew-gardener , we've been aware of these for a while, but haven't been able to come up with a game plan on how to fix them just yet. There's actually nothing wrong with the docker image builds as far as the software side is concerned, I'm able to build these images locally just fine. It seems to be an issue with Docker Hub's lack of system resources for building the images. There's just not enough memory or CPU to handle building Canvas LMS assets for the image within the 2 hour time limit that Docker Hub imposes. We're looking at other options, notably, building the image on our own infrastructure at Instructure. I'll try to keep you updated if we're able to resolve this. In the mean time, if you need updated images, you can always build them yourself, and push them up somewhere for your own builds. |
I've just tried building the image locally off of
Which is the same error that docker hub is getting https://hub.docker.com/r/instructure/canvas-lms/builds/b9l8nahsj3b38pec5myktcq/ It might be something simple like a missing file from a clean checkout? |
@tierra thanks for the info |
I changed the docker file with the fix in #1230 and now I get:
which seems to hang indefinitely. Is there another fix on master for this one? Also is it possible for you to manually push the stable image to docker hub since you seem to be able to build it locally? Thanks |
Looks like it could be webpack/webpack#2908. Are you using windows? |
using macOS High Sierra 10.13.2 |
Does your docker VM have enough memory? 8gb is recommended |
@omarkhan Thanks, using current stable branch and increasing the docker VM memory limit to 8gb has allowed me to successfully build the image locally. |
Great! Closing |
Shouldn't this be closed when images are successfully published to docker hub again (the original issue)? Building images locally is not something I want to do long term if you plan on eventually pushing to docker hub again. |
You're right, and sorry about that. We are still looking into options for re-enabling the Docker Hub image builds. |
Summary:
Seems that docker hub image builds have been failing for the past couple months
https://hub.docker.com/r/instructure/canvas-lms/builds/
Last stable image update 4 months ago (master and beta 5 months ago)
https://hub.docker.com/r/instructure/canvas-lms/tags/
Steps to reproduce:
N/A
Expected behavior:
Docker Hub images should build successfully
Additional notes:
Not sure if you are already aware or not
The text was updated successfully, but these errors were encountered: