lib/generators/dockerfile_generator.rb in dockerfile-rails-1.0.8 vs lib/generators/dockerfile_generator.rb in dockerfile-rails-1.0.9

- old
+ new

@@ -207,9 +207,15 @@ # charlock_holmes. Placed here as the library itself is # libicu63 in buster, libicu67 in bullseye, libiclu72 in bookworm... packages << "libicu-dev" if @gemfile.include? 'charlock_holmes' + + if @gemfile.include? 'webp-ffi' + # https://github.com/le0pard/webp-ffi#requirements + packages += %w(libjpeg-dev libpng-dev libtiff-dev libwebp-dev) + end + packages.sort.uniq end def base_requirements requirements = []