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

Add new package type to support converting "curl|bash"-style things to other packages. #1853

Open
jordansissel opened this issue Nov 10, 2021 · 0 comments

Comments

@jordansissel
Copy link
Owner

A few years ago, I demoed how to convert a "curl | bash" to an rpm.

Might be time to add this to fpm?

I think the rough steps are:

  1. Generate a simple docker file
  2. docker build ... it
  3. docker save the result
  4. Cherry-pick the latest layer (it's a tarfile) in the docker save
  5. Convert the tar to whatever format.

It's possible other tools might work for this as well, instead of docker, but we can start with docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant