aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-07-14 16:02:13 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-07-14 17:30:12 +0200
commitaee73465c69d455f9e0db0e4e5a1f7b54ea3e92e (patch)
treec4a1503fe5b1162125632020c7d9e7b5f1805f58 /Dockerfile
parent2f588c1bb9b3665934e91c61fd4ff395c6390733 (diff)
downloadoperum-aee73465c69d455f9e0db0e4e5a1f7b54ea3e92e.tar.gz
operum-aee73465c69d455f9e0db0e4e5a1f7b54ea3e92e.zip
Bump to ruby 3.3.4
Also updated rack to fix a CVE. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index eba01ff..af641b5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
# syntax = docker/dockerfile:1
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
-ARG RUBY_VERSION=3.3.3
-FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
+ARG RUBY_VERSION=3.3.4
+FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base
# Rails app lives here
WORKDIR /rails
@@ -15,7 +15,7 @@ ENV RAILS_ENV="production" \
# Throw-away build stage to reduce size of final image
-FROM base as build
+FROM base AS build
# Install packages needed to build gems
RUN apt-get update -qq && \