Stop deleting rpm metadata unnecessarily
"ostree container commit" already removes everything in /var/cache, see FORCE_CLEAN_PATHS in https://github.com/ostreedev/ostree-rs-ext/pull/367/commits/a913ab0d5a451dd21f099c4f22de8ee366269879 for full list of cleaned directories.
This commit is contained in:
parent
0cd8249b2c
commit
b417eb2680
2 changed files with 0 additions and 6 deletions
|
@ -23,9 +23,6 @@ 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,9 +23,6 @@ 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