diff --git a/ruby/hello-img/{{cookiecutter.project_name}}/hello_world/Dockerfile b/ruby/hello-img/{{cookiecutter.project_name}}/hello_world/Dockerfile index 95b92568..60fab952 100644 --- a/ruby/hello-img/{{cookiecutter.project_name}}/hello_world/Dockerfile +++ b/ruby/hello-img/{{cookiecutter.project_name}}/hello_world/Dockerfile @@ -3,7 +3,12 @@ FROM public.ecr.aws/lambda/ruby:{{ cookiecutter.options[cookiecutter.runtime].ve COPY app.rb Gemfile ./ ENV GEM_HOME=${LAMBDA_TASK_ROOT} + +# Install dev tools so that `bigdecimal` (a dep of httparty) can be installed +RUN yum install gcc make -y RUN bundle install +# Remove the dev tools +RUN yum uninstall gcc make -y # Command can be overwritten by providing a different command in the template directly. CMD ["app.lambda_handler"]