Skip to content

Commit 5d3caca

Browse files
committed
Adds ruby-devel libs
1 parent 51e929b commit 5d3caca

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

grpc/ruby-3.2/Dockerfile

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@ FROM f3ddevelopers/aws-lambda-ruby-patched:3.2
33
RUN yum swap -y openssl-snapsafe-libs openssl-libs
44

55
RUN 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

99
COPY Gemfile .
1010
COPY 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

0 commit comments

Comments
 (0)