Skip to content

Commit a04def9

Browse files
M-ElsaeedMohammed Ehab
and
Mohammed Ehab
authored
V3 Readme Update (#39)
Co-authored-by: Mohammed Ehab <[email protected]>
1 parent f606a7b commit a04def9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can include this package in your preferred base image to make that base imag
1010

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

1515
## Usage
1616

@@ -56,14 +56,23 @@ FROM amazonlinux:latest
5656
ARG FUNCTION_DIR="/function"
5757

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

6161
# Install bundler
6262
RUN gem install bundler
6363

6464
# Install the Runtime Interface Client
6565
RUN gem install aws_lambda_ric
6666

67+
# If you want to install Runtime Interface Client From Source, you can uncomment the following `ADD` and `RUN` layers.
68+
# Do not forget to comment/remove the above `RUN gem install aws_lambda_ric` command.
69+
# ADD https://github.com/aws/aws-lambda-ruby-runtime-interface-client.git /aws_lambda_ric
70+
# RUN cd /aws_lambda_ric && \
71+
# make init && \
72+
# make build && \
73+
# gem install --local /aws_lambda_ric/pkg/aws_lambda_ric-3.0.0.gem && \
74+
# rm -rf /aws_lambda_ric
75+
6776
# Copy function code
6877
RUN mkdir -p ${FUNCTION_DIR}
6978
COPY app.rb ${FUNCTION_DIR}

0 commit comments

Comments
 (0)