Skip to content

Commit

Permalink
Upgraded base image to ruby 3.2 with v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pzgz committed Apr 3, 2023
1 parent cfe4aa9 commit 02194d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM phusion/passenger-ruby31:2.3.0
FROM phusion/passenger-ruby32:2.5.0

# Set correct environment variables.
ENV HOME /root
Expand All @@ -21,9 +21,10 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
rm -r /var/lib/apt/lists/* && apt-get update && apt-get install yarn

# Resolve the issue might caused by node-sass installation issue
ADD linux-x64-93_binding.node /opt/linux-x64-93_binding.node
ADD linux-x64-102_binding.node /opt/linux-x64-102_binding.node
ADD linux-x64-83_binding.node /opt/linux-x64-83_binding.node
ADD linux-x64-93_binding.node /opt/linux-x64-93_binding.node
ADD linux-x64-108_binding.node /opt/linux-x64-108_binding.node
ADD linux-x64-111_binding.node /opt/linux-x64-111_binding.node

# Use taobao NPM source for YARN
RUN yarn config set registry https://registry.npm.taobao.org
Expand Down
Binary file removed linux-x64-102_binding.node
Binary file not shown.
Binary file added linux-x64-108_binding.node
Binary file not shown.
Binary file added linux-x64-111_binding.node
Binary file not shown.
2 changes: 1 addition & 1 deletion webapp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ server {
# Passenger
passenger_enabled on;
passenger_user app;
passenger_ruby /usr/bin/ruby3.1;
passenger_ruby /usr/bin/ruby3.2;

client_max_body_size 100M;

Expand Down

0 comments on commit 02194d4

Please sign in to comment.