-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6032337
commit 611dae2
Showing
11 changed files
with
28 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM phusion/passenger-full:2.1.0 | ||
FROM phusion/passenger-full:2.5.1 | ||
LABEL maintainer="[email protected]" | ||
LABEL maintainer_name="Kristian Garza" | ||
|
||
|
@@ -13,8 +13,8 @@ RUN usermod -a -G docker_env app | |
# Use baseimage-docker's init process. | ||
CMD ["/sbin/my_init"] | ||
|
||
# Install Ruby 2.6.9 | ||
RUN bash -lc 'rvm --default use ruby-2.6.9' | ||
# Install Ruby 3.1.4 | ||
RUN bash -lc 'rvm --default use ruby-3.1.4' | ||
|
||
# Update installed APT packages | ||
RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" && \ | ||
|
@@ -46,8 +46,8 @@ RUN mkdir -p /home/app/webapp/tmp/pids && \ | |
|
||
# Install Ruby gems | ||
WORKDIR /home/app/webapp | ||
RUN gem install rubygems-update -v 3.4.22 && \ | ||
gem install bundler:2.4.20 && \ | ||
RUN gem install rubygems-update -v 3.5.6 && \ | ||
gem install bundler:2.5.6 && \ | ||
/sbin/setuser app bundle config set --local path 'vendor/bundle' && \ | ||
/sbin/setuser app bundle install | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
version: "2" | ||
|
||
services: | ||
web: | ||
build: . |