Add ARG for RUBY_VERSION
This commit is contained in:
+3
-1
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user