Skip to content

V3 Readme Update #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can include this package in your preferred base image to make that base imag

## Requirements
The Ruby Runtime Interface Client package currently supports Ruby versions:
- 2.5.x up to and including 2.7.x
- 3.2 and 3.3

## Usage

Expand Down Expand Up @@ -56,14 +56,23 @@ FROM amazonlinux:latest
ARG FUNCTION_DIR="/function"

# Install ruby
RUN amazon-linux-extras install -y ruby2.6
RUN dnf install -y ruby3.2 make

# Install bundler
RUN gem install bundler

# Install the Runtime Interface Client
RUN gem install aws_lambda_ric

# If you want to install Runtime Interface Client From Source, you can uncomment the following `ADD` and `RUN` layers.
# Do not forget to comment/remove the above `RUN gem install aws_lambda_ric` command.
# ADD https://github.com/aws/aws-lambda-ruby-runtime-interface-client.git /aws_lambda_ric
# RUN cd /aws_lambda_ric && \
# make init && \
# make build && \
# gem install --local /aws_lambda_ric/pkg/aws_lambda_ric-3.0.0.gem && \
# rm -rf /aws_lambda_ric

# Copy function code
RUN mkdir -p ${FUNCTION_DIR}
COPY app.rb ${FUNCTION_DIR}
Expand Down