Skip to content

Rune to run koji in a container #335

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tperard
Copy link
Contributor

@tperard tperard commented Apr 11, 2025

Adding runes to explain how one can run koji in a container. The feature to read a dockerfile from stdin is somewhat recent, but hopefully old enough for most people. The one-liner is just to be able to always run koji, without needed to prepare a container image before.

These runes don't allow to load a specfile or other from the current directory.

@tperard
Copy link
Contributor Author

tperard commented Apr 11, 2025

If loading files from the current directory is wanted, we would need two more things:
WORKDIR /curdir in the dockerfile (docker start the container in /)
-v$(pwd):/curdir:rw for the docker run command.
(untested runes)

Copy link
Member

@stormi stormi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I leave it to devs who had to use this for review.

Adding runes to explain how one can run `koji` in a container. The
feature to read a dockerfile from stdin is somewhat recent, but
hopefully old enough for most people. The one-liner is just to be able
to always run `koji`, without needed to prepare a container image
before.

These runes don't allow to load a specfile or other from the current
directory.

Signed-off-by: Anthony PERARD <[email protected]>
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

Successfully merging this pull request may close these issues.

4 participants