Skip to content

Commit 4c1a873

Browse files
Force force the pg gem to compile against Alpine (musl)
force the pg gem to compile against Alpine (musl) instead of using the precompiled binary.
1 parent 1f6c9f7 commit 4c1a873

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ FROM ruby:3.3.10-alpine AS build
1717
postgresql-dev \
1818
tzdata
1919

20+
RUN bundle config set force_ruby_platform true
21+
2022
COPY Gemfile* $ROOT
2123
RUN bundle install
2224

0 commit comments

Comments
 (0)