method

dockerfile_build_packages

Importance_0
v8.0.0 - Show latest stable - 0 notes - Class: AppBase
dockerfile_build_packages() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/app_base.rb, line 593
      def dockerfile_build_packages
        # start with the essentials
        packages = %(build-essential git pkg-config)

        # add database support
        packages << database.build_package unless skip_active_record?

        packages << "unzip" if using_bun?

        # node support, including support for building native modules
        if using_node?
          packages << "node-gyp" # pkg-config already listed above

          packages << "python-is-python3"
        end

        packages.compact.sort
      end
Register or log in to add new notes.