Feature request: add gcompat for tailwindcss(-rails)
itsyoshio opened this issue · 3 comments
tailwindcss-rails or rather tailwindcss-cli requires build-base
and gcompat
in order to compile Tailwind.
Related Issue here
I'm aware that the Builder Dockerfile is meant for Rails 6 currently,
but would it be possible for you to include gcompat
aswell?
Appreciated!
PS:
had 4m50s builds with your base images on Rails 6.1
after switching to Rails 7 i got 2m30s on the Build Stage
Just added gcompact
package, does this help? In my apps I'm using esbuild
or webpack
, so I didn't stumbled upon missing Alpine packages.
BTW: A few weeks ago I upgraded the Builder stuff to Rails 7, so it is faster to build a Rails 7 app than a Rails 6 app.
In my apps building time is about 1-2 minutes on GitHub Actions, see these examples which both use esbuild:
Thanks! Works like a Charm.
Getting 2m13s Builds now.
I'm on Gitlab with their public Runners & selfhosted ones on Kubernetes.
Definitely interested in Base Images for Rails 7.
Cool, thanks for the feedback!
Definitely interested in Base Images for Rails 7.
Please note that this project is already ready on Rails 7. Means: The Builder
image includes the gems rails
, activerecord
, etc. in version 7.0.1
, so building an image for your Rails 7 app should be as fast as possible.