Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dudicoco opened this issue Nov 12, 2024 · 0 comments
Open

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

dudicoco opened this issue Nov 12, 2024 · 0 comments
Labels
question Further information is requested

Comments

@dudicoco
Copy link

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
@dudicoco dudicoco added the question Further information is requested label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant