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

Docker Image With fpm #87

Open
everythingfunctional opened this issue May 31, 2020 · 6 comments
Open

Docker Image With fpm #87

everythingfunctional opened this issue May 31, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@everythingfunctional
Copy link
Member

Now that fpm is in a usable state, I think we should try and create a docker image with the latest version installed, so people can use fpm in their CI.

@certik
Copy link
Member

certik commented May 31, 2020

Yes. Even better we should distribute fpm as a single binary for each platform.

@everythingfunctional
Copy link
Member Author

I think we should focus more on package manager distributions than just an executable. At a minimum we should support apt, yum, pacman, and homebrew. Probably also some others. Manually installed things don't get updated very often, if at all.

@certik
Copy link
Member

certik commented Jun 1, 2020 via email

@milancurcic
Copy link
Member

Let's not forget fpm update. This is something I'd expect as a user. fpm should be able to update itself.

I'm not a target audience for Docker image but I see its value.

Linux system package managers like apt and dnf I use occasionally, but I can't take them seriously because so many packages are out of date, so they're mostly good for mature (stable) packages. I agree one should be able to get fpm using those. Then also consider Homebrew, Linuxbrew, and Snapcraft.

@everythingfunctional
Copy link
Member Author

I quickly slapped together a docker image here. I scheduled the CI to update weekly as well.

At some point this will deserve some effort to trim down the size of the resulting image. Right now I based it on Ubuntu and built fpm in the image. It should be possible to use a more lightweight starting point (like Alpine) and just copy in the fpm executable. Then we should create a more official one and publish it on docker hub.

@milancurcic
Copy link
Member

Great! I think it's a good start. I suggest adding the Dockerfile (and associated instructions in the README.md) to the fpm repo.

@awvwgk awvwgk added the enhancement New feature or request label Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants