Skip to content

Commit

Permalink
Update Dockerfile version to match Gemfile (#1134)
Browse files Browse the repository at this point in the history
# What it does

Looks like the version was bumped in
6e9d34f but the Docker build hasn't
caught up. Easy fix!

# Why it is important

This fixes `docker-build.sh` bailing out with Ruby version mismatch
errors.

# Your bandwidth for additional changes to this PR

_Please choose one of the following to help the project maintainers
provide the appropriate level of support:_

- [x] I have the time and interest to make additional changes to this PR
based on feedback.
- [ ] I am interested in feedback but don't need to make the changes
myself.
- [ ] I don't have time or interest in making additional changes to this
work.
- [ ] Other or not sure (please describe):
  • Loading branch information
phinze authored Sep 28, 2023
1 parent 1d441e9 commit 0af34e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.0.3-alpine3.15 AS builder
FROM ruby:3.1.4-alpine3.18 AS builder

LABEL maintainer="jeanine@littleforestconsulting.com"

Expand Down Expand Up @@ -26,13 +26,14 @@ COPY . .

### BUILD STEP DONE ###

FROM ruby:3.0.3-alpine3.15
FROM ruby:3.1.4-alpine3.18

ARG RAILS_ROOT=/usr/src/app/
ARG USER_ID

RUN apk update && apk upgrade && apk add --update --no-cache \
bash \
gcompat \
imagemagick \
nodejs \
postgresql-client \
Expand Down

0 comments on commit 0af34e5

Please sign in to comment.