Skip to content

Commit

Permalink
ruby base image update
Browse files Browse the repository at this point in the history
terrywbrady committed Apr 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a9ef92b commit c0a9d85
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions cognito-lambda-nonvpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -5,10 +5,12 @@
# This image is based on an architecture that matches the Lambda Ruby runtime
# docker build -t ${ECR_REGISTRY}/cognito-lambda-nonvpc .

FROM public.ecr.aws/lambda/ruby:3
FROM public.ecr.aws/lambda/ruby:3.2

RUN yum -y update && yum -y upgrade

RUN yum -y update
RUN yum -y install gcc make git

RUN gem update bundler

# Start with a Gemfile containing only MySQL
4 changes: 2 additions & 2 deletions mysql-ruby-lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@
# This image is based on an architecture that matches the Lambda Ruby runtime
# docker build -t ${ECR_REGISTRY}/mysql-ruby-lambda .

FROM public.ecr.aws/lambda/ruby:3
FROM public.ecr.aws/lambda/ruby:3.2

RUN yum -y update
RUN yum -y update && yum -y upgrade

# Install an os-specific MySQL installation.
# gcc and make are required to build mysql.
4 changes: 2 additions & 2 deletions simulate-lambda-alb/Dockerfile
Original file line number Diff line number Diff line change
@@ -7,9 +7,9 @@
# This image is not actively used
# docker build -t ${ECR_REGISTRY}/simulate-lambda-alb .

FROM ruby:3
FROM ruby:3.2

RUN apt-get update -y && apt-get -y upgrade
RUN yum -y update && yum -y upgrade

RUN gem install bundler

0 comments on commit c0a9d85

Please sign in to comment.