Skip to content

Installation script fails on Alpine due to date syntax #1966

Open
@outlyer-net

Description

@outlyer-net

Is your feature request related to a problem? Please describe.

Installing on an Alpine system, the installation script will fail unless the GNU version of date (in the coreutils package) is installed. Otherwise it uses busybox's implementation, which doesn't understand the -d "+30 minutes" argument.

Describe the solution you'd like

I'd suggest to check date is not a symlink to busybox while checking the requirements and to point the user to installing coreutils when it is.

Additional context

Steps to reproduce the behavior:

  1. Run a fresh install of Alpine, e.g.
    docker run --rm -it alpine
  2. Follow the install instructions, e.g.
    export NETBIRD_DOMAIN=netbird.example.com; curl -fsSL https://github.com/netbirdio/netbird/releases/latest/download/getting-started-with-zitadel.sh | bash

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions