Arch Toolbox container image#328
Arch Toolbox container image#328erazemk wants to merge 7 commits intocontainers:masterfrom erazemk:master
Conversation
martymichal
left a comment
There was a problem hiding this comment.
Hi @erazemkokot, thanks for your interest in Toolbox and for this PR. I left some comments.
| # Clean up all local caches | ||
| RUN pacman -Scc | ||
|
|
||
| CMD /bin/sh |
There was a problem hiding this comment.
I tried to build the image and when I got to this point, it errored out with no such command. That'll probably need some investigation??
There was a problem hiding this comment.
I've tested pacman -Scc and it works fine, did you mean no such command for /bin/sh or pacman?
There was a problem hiding this comment.
Ok, I'll check it out (I'm pretty sure it was because bash is a part of the base metapackage now and I haven't added it yet when you were testing the image).
|
@HarryMichal Thanks for the reply. Can you please tell me what I need to do to properly run the container, since I get the error in the first comment and can't even start it. |
|
Disclaimer: I'm no expert at building container images. I'm still discovering this. First, you need to build the image before you can use it with Toolbox. My process looked like this: The podman command can be replaced by Maybe we should expand the README (or the GitHub Wiki or even the Fedora Wiki) with some instructions for image building. What do you think @debarshiray, @juhp?? |
I haven't read much documentation on podman yet, but I, and I'm sure a lot of other people, would appreciate a section in the readme dedicated to manually building images. |
|
@HarryMichal
If you're using an up-to-date Otherwise using |
|
@erazemkokot In Fedora the approach was to take a selection of the packages and re-install them. Ubuntu container had a script |
I'll check, thanks for the warning. |
Co-Authored-By: Reto Kaiser <reto@retoonline.com>
Co-Authored-By: Reto Kaiser <reto@retoonline.com>
|
Build succeeded.
|
|
I'm going to close this to give it a new - clean - shot, keeping in mind all the tips I got so far. |
I'm creating an Arch base for toolbox.
Currently I get the error
toolbox: failed to get the tag of image ./Dockerfileand I'm new to Podman/Buildah, so I don't know how to tag the file or if I should even use either of those to make the image.Todo: