Skip to content

Support Alpine Linux (no glibc, musl libc) #57

Description

@doffi88

Description

unable to run application on a docker alpine image.

Basic info

Hi guys I'm using the last version of golang objectbox library. I would like to run my application on a alpine docker image but I'm not able to do it.

I'm getting the following error:

2025/03/15 14:55:44 ObjectBox Go Quickstart
panic: Could not create box for entity ID 1: No error information

goroutine 1 [running]:
github.com/objectbox/objectbox-go/objectbox.(*ObjectBox).InternalBox(0xc0000164b0?, 0x1)
/go/pkg/mod/github.com/objectbox/objectbox-go@v1.9.0/objectbox/objectbox.go:198 +0xaa
objectbox-test/model.BoxForTask(...)
/usr/bin/model/model.obx.go:146
main.main()
/usr/bin/main.go:22 +0xd7

How to reproduce

Steps to reproduce the behavior:

  1. docker buildx build -f ./build/Dockerfile --platform linux/amd64 -t objbectbox-test:latest --load .
  2. docker run test-objectbox

objectbox-test.zip

I attached my demo apps

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions