From 81870fae3759bfcdfce5d14acf10a5811c6cbf94 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Thu, 4 May 2023 14:01:39 -0700 Subject: [PATCH] Add ARG for RUBY_VERSION with default --- production.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/production.Dockerfile b/production.Dockerfile index 50c077f..64af6e6 100644 --- a/production.Dockerfile +++ b/production.Dockerfile @@ -1,6 +1,8 @@ # syntax=docker/dockerfile:1 -FROM ruby:3.2.2-slim as base +ARG RUBY_VERSION=3.2.2 + +FROM ruby:${RUBY_VERSION}-slim WORKDIR /rails