Skip to content

Building nginx with extra module breaks because of setfattr #525

@Monokai

Description

@Monokai

Following the instructions of building nginx with extra modules, I'm including the geoip2 module. I'm using the Alpine version.

This all works fine locally, but when building the same Dockerfile in a Gitlab CI setup, it breaks.

I've narrowed it down to this step:

>>> nginx-module-geoip2-dbg: Running split function dbg...
setfattr: ngx_http_geoip2_module-debug.so: Not supported
>>> ERROR: nginx-module-geoip2-dbg: dbg failed
>>> ERROR: nginx-module-geoip2: prepare_subpackages failed
>>> ERROR: nginx-module-geoip2: rootpkg failed

Seems abuild uses setfattr, which isn't supported on every environment by the looks of this error.

Any ideas on how to fix this?

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