File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ ARG FUNCTION_DIR="/function"
59
59
# Install ruby
60
60
RUN amazon-linux-extras install -y ruby2.6
61
61
62
+ # Install bundler
63
+ RUN gem install bundler
64
+
62
65
# Install the Runtime Interface Client
63
66
RUN gem install aws_lambda_ric
64
67
@@ -68,7 +71,7 @@ COPY app.rb ${FUNCTION_DIR}
68
71
69
72
WORKDIR ${FUNCTION_DIR}
70
73
71
- ENTRYPOINT ["aws_lambda_ric" ]
74
+ ENTRYPOINT ["/usr/local/bin/ aws_lambda_ric" ]
72
75
CMD ["app.App::Handler.process" ]
73
76
```
74
77
@@ -102,7 +105,7 @@ mkdir -p ~/.aws-lambda-rie && \
102
105
docker run -d -v ~ /.aws-lambda-rie:/aws-lambda -p 9000:8080 \
103
106
--entrypoint /aws-lambda/aws-lambda-rie \
104
107
myfunction:latest \
105
- aws_lambda_ric app.App::Handler.process
108
+ /usr/local/bin/ aws_lambda_ric app.App::Handler.process
106
109
```
107
110
108
111
This runs the image as a container and starts up an endpoint locally at ` http://localhost:9000/2015-03-31/functions/function/invocations ` .
@@ -144,4 +147,5 @@ If you discover a potential security issue in this project we ask that you notif
144
147
145
148
## License
146
149
147
- This project is licensed under the Apache-2.0 License.
150
+ This project is licensed under the Apache-2.0 License.
151
+
You can’t perform that action at this time.
0 commit comments