Skip to content

question: crane mutate/append with local tarball as a base image #2032

Open

Description

Hi,

I'm trying to append or mutate a local tar:

crane mutate node.tar \
  --append "$tar" \
  --output "$image" \
  --tag "$project" \
  --cmd "./src/index.js"

And i'm getting the following error:

Error: pulling node.tar: parsing reference "node.tar": could not parse reference: node.tar

I want to use a local tar since am pulling the base image beforehand in order to cache the layers (it's not possible to cache with crane mutate/append):

crane pull "$base" "node.tar" --cache_path cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions