Skip to content
Snippets Groups Projects
Unverified Commit 65aa3477 authored by tribut's avatar tribut :man_dancing:
Browse files

Add devcontainer config and upgrade Ruby

parent fcc1681c
No related branches found
No related tags found
No related merge requests found
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
{
"name": "Ruby",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/ruby:1-3.2-bookworm"
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "ruby --version",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
# syntax = docker/dockerfile:1
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.2.0
ARG RUBY_VERSION=3.2.5
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base
# Rails app lives here
......
source "https://rubygems.org"
ruby "3.2.0"
ruby "3.2.5"
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.1.2"
......
......@@ -348,7 +348,7 @@ DEPENDENCIES
web-console
RUBY VERSION
ruby 3.2.0p0
ruby 3.2.5p208
BUNDLED WITH
2.4.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment