Skip to content

Request for adding support for arm64 v8 #57

@VizXtreme

Description

@VizXtreme

I'm trying to run the wrapper in Docker running on Ubuntu via Droidspaces on Android. But this error pops upon building the wrapper :

docker build --tag ghcr.io/worldobservationlog/wrapper:local .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  715.4MB
Step 1/23 : ARG BUILD_PLATFORM=linux/amd64
Step 2/23 : ARG RUNTIME_PLATFORM=linux/amd64
Step 3/23 : FROM --platform=${BUILD_PLATFORM} debian:13.2 AS build
 ---> c71b05eac0b2
Step 4/23 : ARG TARGET_ARCH=amd64
 ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ---> Running in 53e3a667b87e
 ---> Removed intermediate container 53e3a667b87e
 ---> baea48c0d5c7
Step 5/23 : ARG NDK_VERSION=23
 ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ---> Running in b1f2cc125d65
 ---> Removed intermediate container b1f2cc125d65
 ---> bffd672400ce
Step 6/23 : SHELL ["/bin/bash", "-c"]
 ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ---> Running in 68f76760765a
 ---> Removed intermediate container 68f76760765a
 ---> cac3c4d33753
Step 7/23 : WORKDIR /app
 ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ---> Running in dde399fcb0a5
 ---> Removed intermediate container dde399fcb0a5
 ---> 23e4799bab6b
Step 8/23 : COPY ./*wrapper ./
 ---> 54c219df3bb9
Step 9/23 : RUN if [[ -f ./wrapper ]]; then         touch /use_prebuild;     fi
 ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ---> Running in 185ec327c6e6
 ---> Removed intermediate container 185ec327c6e6
 ---> 4c9ad411ebb7
Step 10/23 : RUN --mount=type=cache,target=/var/lib/apt,sharing=locked     --mount=type=cache,target=/var/cache/apt,sharing=locked     if [[ ! -f /use_prebuild ]]; then         apt-get update;         apt-get install -y             build-essential             cmake             unzip             git             lsb-release             gnupg             aria2;     fi
the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled

and this error when using the prebuilt binary :

docker run -it -v ./data:/app/rootfs/data -e args='-L user:pass -H 0.0.0.0' ghcr.io/tikhonp/wrapper:fb5fcc5b88e78dfa408efc4900b2c5139611b206 
Unable to find image 'ghcr.io/tikhonp/wrapper:fb5fcc5b88e78dfa408efc4900b2c5139611b206' locally
docker: Error response from daemon: no matching manifest for linux/arm64/v8 in the manifest list entries: no match for platform in manifest: not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions