Skip to content

Commit dce43e8

Browse files
stefannibrasilcompwron
authored andcommitted
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 cdbec70 commit dce43e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)