lib/generators/dockerfile_generator.rb in dockerfile-rails-0.2.0 vs lib/generators/dockerfile_generator.rb in dockerfile-rails-0.3.1

- old
+ new

@@ -36,11 +36,11 @@ template 'node-version.erb', '.node-version' if using_node? template 'docker-entrypoint.erb', 'bin/docker-entrypoint' chmod "bin/docker-entrypoint", 0755 & ~File.umask, verbose: false - template 'docker-compose.yml.erb', 'docker-compose.yml' + template 'docker-compose.yml.erb', 'docker-compose.yml' if options.compose end private def using_node? @@ -79,11 +79,11 @@ # ActiveStorage preview support packages << "libvips" if @gemfile.include? 'ruby-vips' # node support, including support for building native modules if using_node? - packages += %w(curl node-gyp pkg-config) + packages += %w(curl unzip node-gyp pkg-config) # module build process depends on Python, and debian changed # how python is installed with the bullseye release. Below # is based on debian release included with the Ruby images on # Dockerhub. @@ -204,6 +204,6 @@ 'db:prepare' else 'db:migrate' end end -end \ No newline at end of file +end