freedomofpress / containers

Repo to house all FPF related containers
4 stars 1 forks source link

Adds rpm buider container.. swaps out build scripts #10

Closed msheiny closed 5 years ago

msheiny commented 5 years ago

Closes #9

There is also significant tooling change surrounding the build scripts. I put some reasoning in the commit message

The biggest motivator for doing this is .. I cant stand ansible's docker module. It doesnt handle caching well and most of all ansible output story sucks.. and I really wanted to see more of a live rolling output from docker. I just realized after this I could have used docker-compose in a similar fashion and ditch these meta.yml files. :shrug: Im kind of lazy to go back and convert now but if someone gets loud enough i might be convinced

To expand on that - it was so annoying to do any debugging during docker building iteration that this drove me to swap things out.

Already pushed to quay.io

To test locally? Either pipenv run ./build.py rpmbuilder or jump into the virtualenv yourself and just run ./build.py rpmbuilder