From 666eabc4032257a3570c9353045c03901eb3c822 Mon Sep 17 00:00:00 2001 From: Lucas Pinheiro <92386232+lucaspinheiro1@users.noreply.github.com> Date: Tue, 13 Feb 2024 11:33:14 +0100 Subject: [PATCH 1/2] update ruby base image version dotenv requires Ruby version >= 3.0 current pulled version is 2.7.8.225 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a796e63..db344be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2-alpine +FROM ruby:3-alpine LABEL "maintainer"="bpicode" LABEL "com.github.actions.name"="github-action-fpm" From a404e0adcea2f406f53a2e230df86d8f150e3040 Mon Sep 17 00:00:00 2001 From: Lucas Pinheiro <92386232+lucaspinheiro1@users.noreply.github.com> Date: Tue, 13 Feb 2024 11:59:16 +0100 Subject: [PATCH 2/2] update fpm version following ruby update fix undefined method 'exists?' --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index db344be..ba1a0fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apk --no-cache add build-base RUN apk --no-cache add rpm RUN apk --no-cache add tar RUN apk --no-cache add zip -RUN gem install --no-document fpm -v 1.11.0 +RUN gem install --no-document fpm -v 1.15.1 COPY entrypoint.sh /entrypoint.sh