Add ARG for RUBY_VERSION

This commit is contained in:
Ryan Williams
2023-05-04 14:00:54 -07:00
committed by GitHub
parent 337901d10c
commit 5da4edce01
+3 -1
View File
@@ -1,6 +1,8 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM ruby:3.2.2-slim ARG RUBY_VERSION=3.2.2
FROM ruby:${RUBY_VERSION}-slim
# OS Level Dependencies # OS Level Dependencies
RUN apt-get update -qq && apt-get install -yq --no-install-recommends \ RUN apt-get update -qq && apt-get install -yq --no-install-recommends \