Skip to content

[Bug]: APK package format error #3529

@repli2dev

Description

@repli2dev

Bug report

When trying to install DD tracer to the official PHP 8.5.0 image with Alpine 3.23 it fails with error ERROR: datadog-php-tracer_1.14.1_aarch64.apk: v2 package format error

Reproduction steps:

$ docker run -ti --entrypoint /bin/bash php:8.5-cli-alpine
$ docker run -ti --entrypoint /bin/bash php:8.5-cli-alpine3.23
$ wget https://github.com/DataDog/dd-trace-php/releases/download/1.14.1/datadog-php-tracer_1.14.1_aarch64.apk
$ apk add datadog-php-tracer_1.14.1_aarch64.apk 
ERROR: datadog-php-tracer_1.14.1_aarch64.apk: v2 package format error

In php:8.5-cli-alpine3.22 the above process succeeds (with allow untrusted option)

PHP version

8.5.0

Tracer or profiler version

1.14.1

Installed extensions

No response

Output of phpinfo()

No response

Upgrading from

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions