Blint<p>Today I was updating <a href="https://tutter.org/tags/tutter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tutter</span></a> to the latest version (v4.3.3), and tried to fix character limits again (my script was broken since v4.3).<br>After a few burned minutes (to be honest, it was more than an hour), when I had enough.</p><p>To increase the character limits is easy when you run <a href="https://tutter.org/tags/mastodon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mastodon</span></a> outside of a container, but my every projects runs in <a href="https://tutter.org/tags/kubernetes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kubernetes</span></a>, so I had to try to enforce the changes in a container... </p><p>Finally I gave it up to hack my solution inside the container and decided to just mirror the official image and patch the image.</p><p>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.</p><p>So I just used the mastodon/mastodon base image, change user to root, run the patches, and change back the user to mastodon.</p><p>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).</p><p>Now I have a repo with the changes, and a custom mastodon image. </p><p>Feel free to use it, open a PR if you have some interesting (and useful changes).</p><p><a href="https://codeberg.org/tutter/mastodon" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/tutter/mastodon</span><span class="invisible"></span></a></p><p>Or just use the image: </p><p>```bash<br>docker pull codeberg.org/tutter/mastodon:v4.3.3<br>```</p><p>Hosting the code on <span class="h-card" translate="no"><a href="https://social.anoxinon.de/@Codeberg" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Codeberg</span></a></span> </p><p><a href="https://tutter.org/tags/tutter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tutter</span></a> <a href="https://tutter.org/tags/mastodon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mastodon</span></a> <a href="https://tutter.org/tags/kubernetes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kubernetes</span></a> <a href="https://tutter.org/tags/sysadmin" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sysadmin</span></a> <a href="https://tutter.org/tags/sysadminslife" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sysadminslife</span></a> <a href="https://tutter.org/tags/codeberg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>codeberg</span></a> <a href="https://tutter.org/tags/oci" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oci</span></a> <a href="https://tutter.org/tags/illdoitmyself" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>illdoitmyself</span></a> <a href="https://tutter.org/tags/fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fediverse</span></a></p>