Skip to content

After upgrade: Container does not start, if plugins are installed with native extensions #331

Closed
@carstencodes

Description

@carstencodes

Hi,

after updating to a new version (redmine 5.1.2, bookworm), the container keeps restarting because one of the plugins I installed requires the bigdecimal gem. This is a native extension and hence must be compiled in the container.

My current workaround is:

  • Replace the entrypoint with the following script:
#!/bin/sh

set -e

apt-get update && apt-get install -y --no-install recommends build-essential

/docker-entypoint.sh rails server -b 0.0.0.0

Is it possible to add build-essential to the standard image?

Regards

Carsten

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions