Skip to content

Commit 96509f7

Browse files
committed
feat: add Dockerized testing
1 parent abf8e41 commit 96509f7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ test/examples/hello-world-docker/pkg
1111
*.iml
1212
.DS_Store
1313
Gemfile.lock
14+
# useful when using rbenv
15+
.ruby-version

Dockerfile.test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM public.ecr.aws/lambda/ruby:3.3
2+
ENV GEM_HOME=/var/runtime
3+
RUN gem uninstall aws_lambda_ric --executables
4+
ADD pkg /tmp/pkg
5+
RUN gem install /tmp/pkg/aws_lambda_ric-*.gem
6+
RUN rm -rf /tmp/pkg

0 commit comments

Comments
 (0)