File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ You can include this package in your preferred base image to make that base imag
1010
1111## Requirements
1212The 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
5656ARG 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
6262RUN gem install bundler
6363
6464# Install the Runtime Interface Client
6565RUN 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
6877RUN mkdir -p ${FUNCTION_DIR}
6978COPY app.rb ${FUNCTION_DIR}
You can’t perform that action at this time.
0 commit comments