cruftspy
dockerfile-rails
cruftspy | dockerfile-rails | |
---|---|---|
3 | 5 | |
15 | 438 | |
- | 2.7% | |
0.0 | 8.9 | |
almost 2 years ago | 2 days ago | |
Python | Dockerfile | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cruftspy
-
Rails on Docker ยท Fly
If you want to check your images for some common leftover files in all the layers, I made an app for that: https://github.com/viraptor/cruftspy
-
Minify your container by up to 30x to be more secure (free and open source)
If you want a quick double check to verify a handful of common cleanups, check out https://github.com/viraptor/cruftspy, which reports cruft like logs, caches, and git repos.
dockerfile-rails
-
Rails 7.1: Dockerfiles, BYO Authentication, More Async Queries, and More
If you want to automatically generate Dockerfiles for more versions of Rails (not just the latest) that detect OS packages that need to be installed from gems present in your Gemfile, check out https://github.com/fly-apps/dockerfile-rails
You can install it in your rails app by running:
1. bundle add dockerfile-rails
2. rails g dockerfile
-
Around the World with SQLite3 and Rsync
> I felt bad
Don't. I can honestly say that I didn't write this post targeting HN. I'll go further... this post wasn't meant for people who are unlikely to use https://github.com/fly-apps/dockerfile-rails#overview. I recently added some features to that gem whose usage may not be intuitively obvious. I wrote this post to explain some of the motivation for those features.
I don't know how to mark posts as not intended for HN (and truth be told, if there was such a feature, I'd be inclined to overuse it). I don't know where else I should have posted this content, but I'm not sure I would be inclined to move it. In any case, this post, as written, serves a purpose for me. Somebody not you and not me felt it belonged here. We can both second guess that decision. Either way, there is no reason for either of us to feel bad.
-
Rapid growth, lessons learned and improvements at Fly.io
Did you try migrating with this guide? https://fly.io/docs/rails/getting-started/migrate-from-herok...
The issues you ran into with older versions of Rails was probably because the Dockerfile that `fly launch` generated was for new versions of Rails. We switched to https://github.com/rubys/dockerfile-rails to streamline Dockerfile generation and support older versions of Rails.
If you try it again and run into issues you can open an issue at https://github.com/rubys/dockerfile-rails/issues or post in https://community.fly.io and somebody will help get that sorted out.
The more versions of Rails we can deploy the better!
-
Rails on Docker ยท Fly
At the moment Rails is focused on simplicity/readability. I've got a gem that I'm proposing (and DHH is evaluating) that adds caching as an option: https://github.com/rubys/dockerfile-rails#overview
-
Rails on Docker
even though the article does not go deep into multistage builds Fly.io does provide cookbooks and even a link to a Rails generator there.
What are some alternatives?
dive - A tool for exploring each layer in a docker image
docked - Running Rails from Docker for easy start to development
docker-show-context - Show where time is wasted during the context upload of `docker build`
docker-projects
bgems - Binary rubygems
deploy-cloud-functions - A GitHub Action that deploys source code to Google Cloud Functions.
lamby - ๐๐ค Simple Rails & AWS Lambda Integration
libaws - aws should be easy
distroless - ๐ฅ Language focused docker images, minus the operating system.
django-simple-deploy - A reusable Django app that configures your project for deployment