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
Alpine docker image #3063
base: master
Are you sure you want to change the base?
Alpine docker image #3063
Conversation
I did not expect this got accepted. After all it has so many breaking changes. Some updates here. I have been using arm64 build with sqlite3 for more than a week and there are no issues so far. The only problem with arm64 build is that there is no canned ruby-grpc binary for it. Building grpc from source takes hours of CI time to complete, but eventually it works. You may want to add the following to remove intermediate files generate when building grpc. Also, armv7 build still does not work for some reason that I cannot remember. |
Hmm, I'm very interested to use the part that uses sqlite3 as database. Would it be possible to split that part into a separate PR? Thank you! |
I manage to build alpine image for huginn by removing mini_racer from
Gemfile
. Also there are other modifications just to suit my preference. Feel free to merge any part you think is useful.Notable changes are:
DATABASE_URL
is the only way of configuring database connection. Default: sqlite3:/data/huginn.dbI tried building it on arm64, and while it did build, the image did not function well, workers run out of available database connections even if database is not sqlite.
An already built image is available at roylez/huginn.