This repository contains a Docker development environment for Ruby on Rails applications using Alpine Linux as the base image.
- Lightweight Alpine Linux base image
- Pre-installed Ruby and Rails dependencies
To get started with this development environment, follow these steps:
- Install Docker and Docker Compose if you haven't already.
- Install VSCode and the Dev Containers extension.
- Copy the .devcontainer folder to your rails app root directory
- Run the command
> Reopen in Container
on VSCode.
If your app uses sqlite3, you must update your Gemfile
to use a version >= 2.0
to bypass dependency errors.
gem sqlite3 "~> 2.0", ">= 2.0.0"