Skip to content

Different entrypoints are not using emulation as done in docker-entrypoint.sh #585

@hrshtt

Description

@hrshtt

All entrypoints should be running exec $EXEC /opt/factorio/bin/x64/factorio instead of direct exec /opt/factorio/bin/x64/factorio.

This breaks the other entrypoints for arm64 users.

i would suggest putting this bit into a separate script & overwriting the command once and then using that across each entrypoint:

if [[ -f /bin/box64 ]]; then
  # Use an emulator to run on ARM hosts
  # this only gets installed when the target docker platform is linux/arm64
  EXEC="$EXEC /bin/box64"
fi

I can raise a PR to do 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