Today I was updating #tutter to the latest version (v4.3.3), and tried to fix character limits again (my script was broken since v4.3).
After a few burned minutes (to be honest, it was more than an hour), when I had enough.
To increase the character limits is easy when you run #mastodon outside of a container, but my every projects runs in #kubernetes, so I had to try to enforce the changes in a container...
Finally I gave it up to hack my solution inside the container and decided to just mirror the official image and patch the image.
I tried to do this with as few changes as possible, because I don't really want to maintain the whole mastodon image and stuff.
So I just used the mastodon/mastodon base image, change user to root, run the patches, and change back the user to mastodon.
Initially I tried to do the `bundle exec rails assets:precompile` step as well, but it needs a lot of stuff, and the image starts with this: `bundle exec puma -C config/puma.rb`, so I thought maybe this would do the trick (I don't know ruby, so I was just guessing, but it seems to work).
Now I have a repo with the changes, and a custom mastodon image.
Feel free to use it, open a PR if you have some interesting (and useful changes).
https://codeberg.org/tutter/mastodon
Or just use the image:
```bash
docker pull codeberg.org/tutter/mastodon:v4.3.3
```
Hosting the code on @Codeberg