Remove dnf5 metadata cache from image
This commit is contained in:
parent
cb38f756e9
commit
0cd8249b2c
2 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,9 @@ RUN dnf5 -y swap nano-default-editor vim-default-editor
|
||||||
# Remove default color prompt (is replaced with a custom one)
|
# Remove default color prompt (is replaced with a custom one)
|
||||||
RUN dnf5 -y remove bash-color-prompt
|
RUN dnf5 -y remove bash-color-prompt
|
||||||
|
|
||||||
|
# Remove rpm metadata cache
|
||||||
|
RUN dnf5 clean all
|
||||||
|
|
||||||
# Apply configuration
|
# Apply configuration
|
||||||
COPY etc /etc
|
COPY etc /etc
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,9 @@ RUN dnf5 -y swap nano-default-editor vim-default-editor
|
||||||
# Remove default color prompt (is replaced with a custom one)
|
# Remove default color prompt (is replaced with a custom one)
|
||||||
RUN dnf5 -y remove bash-color-prompt
|
RUN dnf5 -y remove bash-color-prompt
|
||||||
|
|
||||||
|
# Remove rpm metadata cache
|
||||||
|
RUN dnf5 clean all
|
||||||
|
|
||||||
# Apply configuration
|
# Apply configuration
|
||||||
COPY etc /etc
|
COPY etc /etc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue