-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update deps to ruby3.2 and psql14 (#113)
- Loading branch information
Showing
19 changed files
with
15,145 additions
and
5,437 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,9 +1,13 @@ | ||
FROM lambci/lambda:build-ruby2.7 | ||
FROM public.ecr.aws/lambda/ruby:3.2 | ||
|
||
RUN yum install -y postgresql postgresql-devel mysql-devel sqlite-devel | ||
RUN yum install -y amazon-linux-extras \ | ||
&& amazon-linux-extras enable postgresql14 \ | ||
&& yum group install "Development Tools" -y | ||
|
||
RUN yum install -y postgresql postgresql-devel mysql-devel | ||
|
||
ADD pact_broker/Gemfile /var/task/Gemfile | ||
ADD pact_broker/Gemfile.lock /var/task/Gemfile.lock | ||
# ADD pact_broker/Gemfile.lock /var/task/Gemfile.lock | ||
# hack because pg isnt pinned | ||
RUN sed -i 's/gem "pg", "~>1.0"/gem "pg", "1.2.3"/g' /var/task/Gemfile | ||
# RUN sed -i 's/gem "pg", "~>1.5"/gem "pg", "1.5.4"/g' /var/task/Gemfile | ||
RUN bundle install && bundle install --deployment |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.