Skip to content

Commit 9a19c0d

Browse files
chore(deps): update dependency ruby to v3.3.7 (#991)
* chore(deps): update dependency ruby to v3.4.2 * Update .ruby-version * Update Dockerfile * Update Dockerfile to be similair to amber-api * Update Dockerfile (other changes did not work) * Update Dockerfile * Update Dockerfile * Update Dockerfile * update rubocop to ruby 3.3 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: lodewiges <[email protected]> Co-authored-by: Lodewiges <[email protected]>
1 parent 1f60a0d commit 9a19c0d

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

.rubocop.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ require:
55

66
AllCops:
77
TargetRailsVersion: 7.1
8-
TargetRubyVersion: 3.2
8+
TargetRubyVersion: 3.3
99
Exclude:
1010
- 'bin/**/*'
1111
- 'db/schema.rb'
12-
- 'config/initializers/secret_token.rb'
1312
- 'config/initializers/simple_form.rb'
1413
- 'config/initializers/simple_form_bootstrap.rb'
1514
- 'node_modules/**/*'
1615
- 'vendor/**/*'
17-
- '.pryrc'
1816
DisplayCopNames: true
1917
DisplayStyleGuide: true.
2018
NewCops: enable

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.6
1+
3.3.7

Dockerfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
FROM ruby:3.2.6-slim@sha256:d55e7e5d2c00e0e39c4ef1871e67f85f257797846cc69993d3ac1d7b83f1862f
1+
FROM ruby:3.3.7-slim@sha256:8b9a65339e4542d72a044135916b03f9f571c7940beec51d19efef9d8e7050be
2+
3+
# Define args that can be supplied with
4+
# `docker build --build-args RAILS_ENV=<env>`, defaults to production.
5+
ARG BUILD_HASH='unknown'
6+
ENV BUILD_HASH=$BUILD_HASH
7+
ARG RAILS_ENV='production'
8+
ARG NODE_ENV='production'
29

310
# Add build-essential tools.
411
RUN apt-get update -qq && \
@@ -8,7 +15,8 @@ RUN apt-get update -qq && \
815
libpq-dev \
916
curl \
1017
netcat-traditional \
11-
wkhtmltopdf
18+
wkhtmltopdf \
19+
libyaml-dev
1220

1321
# Add Node, required for asset pipeline.
1422
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
@@ -18,13 +26,6 @@ RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
1826
RUN mkdir /app
1927
WORKDIR /app
2028

21-
# Define args that can be supplied with
22-
# `docker build --build-args RAILS_ENV=<env>`, defaults to production.
23-
ARG BUILD_HASH='unknown'
24-
ENV BUILD_HASH=$BUILD_HASH
25-
ARG RAILS_ENV='production'
26-
ARG NODE_ENV='production'
27-
2829
# Pre-install gems, so that they can be cached.
2930
COPY Gemfile* /app/
3031
RUN if [ "$RAILS_ENV" = 'production' ] || [ "$RAILS_ENV" = 'staging' ] || [ "$RAILS_ENV" = 'luxproduction' ]; then \

0 commit comments

Comments
 (0)