Skip to content

there's a weird anchor and avm symbiosis that prevents you from just copying the anchor binary into an image #1

@SvenDowideit

Description

@SvenDowideit

imo this is messy

# Anchor and avm have a really weird relationship atm - so its complicated to just use an anchor binary
COPY --from=build-anchor /usr/local/cargo/bin/avm /usr/local/cargo/bin/anchor /usr/local/bin
COPY --from=build-anchor /root/.avm /root/.avm

imo none of avm or /root/.avm/ should be necessary if the anchor binary is functional

(its possible that the /root/.avm/bin/anchor-0.24.2 binary is the one that should be copied - I didn't look into this gift horse.

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