File tree 1 file changed +11
-2
lines changed
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
10
10
11
11
## Requirements
12
12
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
14
14
15
15
## Usage
16
16
@@ -56,14 +56,23 @@ FROM amazonlinux:latest
56
56
ARG FUNCTION_DIR="/function"
57
57
58
58
# Install ruby
59
- RUN amazon-linux-extras install -y ruby2.6
59
+ RUN dnf install -y ruby3.2 make
60
60
61
61
# Install bundler
62
62
RUN gem install bundler
63
63
64
64
# Install the Runtime Interface Client
65
65
RUN gem install aws_lambda_ric
66
66
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
+
67
76
# Copy function code
68
77
RUN mkdir -p ${FUNCTION_DIR}
69
78
COPY app.rb ${FUNCTION_DIR}
You can’t perform that action at this time.
0 commit comments