Browse Source

Maintenance: Increase ruby version inside docker file.

Dominik Klein 1 year ago
parent
commit
155251c454

+ 2 - 2
Dockerfile

@@ -1,7 +1,7 @@
 FROM node:20-slim as node
 
 
-FROM ruby:3.1.3-slim AS builder
+FROM ruby:3.2.2-slim AS builder
 ARG DEBIAN_FRONTEND=noninteractive
 ARG RAILS_ENV=production
 ARG ZAMMAD_DIR=/opt/zammad
@@ -15,7 +15,7 @@ RUN contrib/docker/setup.sh builder
 
 # note: zammad is currently incompatible to alpine because of:
 # https://github.com/docker-library/ruby/issues/113
-FROM ruby:3.1.3-slim
+FROM ruby:3.2.2-slim
 ARG DEBIAN_FRONTEND=noninteractive
 ARG ZAMMAD_USER=zammad
 ENV RAILS_ENV=production

+ 5 - 5
doc/developer_manual/development_environment/how-to-set-up-a-development-environment.md

@@ -55,8 +55,8 @@ For Linux and macOS:
 
 ```screen
 curl -sSL https://get.rvm.io | bash -s stable --rails
-rvm install ruby-3.1.3
-rvm --default use 3.1.3
+rvm install ruby-3.2.2
+rvm --default use 3.2.2
 ```
 
 ## NVM, Node.js and Yarn
@@ -184,9 +184,9 @@ $ docker run --rm -it -v /path/to/certs:/etc/letsencrypt certbot/dns-cloudflare
 
 Where:
 
-* `/path/to/certs` is a local directory where your certificate files will be stored
-* `you@example.com` is your email address
-* `localhost.example.com` is the FQDN of your subdomain
+- `/path/to/certs` is a local directory where your certificate files will be stored
+- `you@example.com` is your email address
+- `localhost.example.com` is the FQDN of your subdomain
 
 When asked to deploy a DNS TXT record by certbot, open the DNS table of your domain. Add a TXT record with suggested name in form of `_acme-challenge.localhost.example.com.` and suggested random value. Save the record and wait some seconds for changes to propagate (this may depend on your DNS host).