Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
doerfli committed Sep 8, 2024
1 parent 5521235 commit 24c0a74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ADD .ruby-version $HOME/
ADD Gemfile* $HOME/

RUN apk update && apk upgrade && \
apk add --update --no-cache nodejs yarn build-base libxml2-dev tzdata postgresql-dev vips libffi-dev ruby-dev && \
apk add --update --no-cache nodejs yarn build-base libxml2-dev tzdata postgresql-dev vips libffi-dev ruby-dev gcompat && \
rm -rf /var/cache/apk/*

# # speed up install of nokogiri gem
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ gem 'jbuilder', '~> 2.11'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

gem "ffi", "~>1.16.3"

# Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8'

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ GEM
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-x86_64-linux-gnu)
ffi (1.16.3)
globalid (1.2.1)
activesupport (>= 6.1)
hashie (5.0.0)
Expand Down Expand Up @@ -444,6 +443,7 @@ DEPENDENCIES
debug (>= 1.0.0)
dotenv-rails
factory_bot_rails (~> 6.4.2)
ffi (~> 1.16.3)
image_processing (~> 1.13)
jbuilder (~> 2.11)
jsbundling-rails
Expand Down

0 comments on commit 24c0a74

Please sign in to comment.