Skip to content

Commit

Permalink
Fix Dockerfile to prevent build issues since Ruby 3.3 Docker was upda…
Browse files Browse the repository at this point in the history
…ted to 3.3.7 (#5989)

* don't unnecessarily run update-ca-certificates (which is now missing in ruby-3.3 image)

* pin Ruby 3.3.6 image (3.3.7 has gem issues)
  • Loading branch information
Ithanil authored Feb 7, 2025
1 parent 5d8bd02 commit b85c7b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.3-alpine3.20 AS base
FROM ruby:3.3.6-alpine3.20 AS base

ARG RAILS_ROOT=/usr/src/app
ENV RAILS_ROOT=${RAILS_ROOT}
Expand Down Expand Up @@ -39,8 +39,7 @@ RUN apk update \
&& yarn cache clean
COPY . ./
RUN apk update \
&& apk upgrade \
&& update-ca-certificates
&& apk upgrade

EXPOSE ${PORT}
ENTRYPOINT [ "./bin/start" ]

0 comments on commit b85c7b6

Please sign in to comment.