File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,19 +3,21 @@ FROM f3ddevelopers/aws-lambda-ruby-patched:3.2
33RUN yum swap -y openssl-snapsafe-libs openssl-libs
44
55RUN yum update -y && \
6- yum install -y make gcc gcc-c++ && \
6+ yum install -y make gcc gcc-c++ ruby-devel && \
77 yum clean all
88
99COPY Gemfile .
1010COPY Gemfile.lock .
1111
12- RUN bundle config set deployment true && \
13- bundle config set without 'test development' && \
14- # bundle config build.ffi -- --with-cflags="-Wno-implicit-function-declaration" && \
15- bundle config set retry 5 && \
16- # bundle config set jobs $(getconf _NPROCESSORS_ONLN) && \
17- # if [[ "$ARCHITECTURE" == "arm64" ]]; then \
18- # bundle config set force_ruby_platform true && \
19- # bundle config build.ffi --enable-libffi-alloc; \
20- # fi && \
21- BUNDLE_FORCE_RUBY_PLATFORM=true bundle
12+ # RUN bundle config set deployment true && \
13+ # bundle config set without 'test development' && \
14+ # bundle config build.ffi -- --with-cflags="-Wno-implicit-function-declaration" && \
15+ # bundle config set retry 5 && \
16+ # bundle config set jobs $(getconf _NPROCESSORS_ONLN) && \
17+ # if [[ "$ARCHITECTURE" == "arm64" ]]; then \
18+ # bundle config set force_ruby_platform true && \
19+ # bundle config build.ffi --enable-libffi-alloc; \
20+ # fi && \
21+ # BUNDLE_FORCE_RUBY_PLATFORM=true bundle
22+
23+ RUN BUNDLE_FORCE_RUBY_PLATFORM=true bundle
You can’t perform that action at this time.
0 commit comments