Skip to content

Commit b85c7b6

Browse files
authored
Fix Dockerfile to prevent build issues since Ruby 3.3 Docker was updated 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)
1 parent 5d8bd02 commit b85c7b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.3-alpine3.20 AS base
1+
FROM ruby:3.3.6-alpine3.20 AS base
22

33
ARG RAILS_ROOT=/usr/src/app
44
ENV RAILS_ROOT=${RAILS_ROOT}
@@ -39,8 +39,7 @@ RUN apk update \
3939
&& yarn cache clean
4040
COPY . ./
4141
RUN apk update \
42-
&& apk upgrade \
43-
&& update-ca-certificates
42+
&& apk upgrade
4443

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

0 commit comments

Comments
 (0)