Skip to content

Hugo binary no longer statically linked on Linux (starting 0.20.3) #3382

@munnerz

Description

@munnerz

Hi there

Since version 0.20.3, it appears the Hugo binary is no longer being statically linked.

This means when running Hugo within an alpine container, 'no such file or directory' is output (because the linked libraries are not present). I'm assuming this is to do with the transition to using goreleaser, as part of this issue: #3358

From a quick glance, it looks like goreleaser allows us to specify ld flags. etc for use when building, so this should be possible!

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions