25 lines
522 B
Markdown
25 lines
522 B
Markdown
|
# Maintaining toolboxes
|
|||
|
|
|||
|
## How to keep Fedora toolbox up-to-date
|
|||
|
|
|||
|
1. Pull latest toolbox
|
|||
|
|
|||
|
\$ podman pull fedora-toolbox:35
|
|||
|
|
|||
|
2. Run the container
|
|||
|
|
|||
|
\$ podman run -ti fedora-toolbox:35 /bin/bash
|
|||
|
|
|||
|
3. Copy your current repos
|
|||
|
|
|||
|
\$ podman cp /etc/yum.repos.d/ ‹container ID›:/etc/
|
|||
|
|
|||
|
4. Run upgrade & install common packages inside the container
|
|||
|
|
|||
|
(container)$ dnf upgrade
|
|||
|
(container)$ dnf install -y zsh tmux neovim ansible make
|
|||
|
|
|||
|
5. Commit the image
|
|||
|
|
|||
|
\$ podman commit ‹container ID› fedora-toolbox:35
|