Move applying configuration to end of build
When applied before package installations/removals, some files might get modified/deleted.
This commit is contained in:
parent
13ff41252c
commit
f8475166e0
2 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,5 @@
|
|||
FROM quay.io/fedora-ostree-desktops/kinoite:41
|
||||
|
||||
# Apply configuration
|
||||
COPY etc /etc
|
||||
|
||||
# Remove firefox
|
||||
RUN rpm-ostree override remove firefox firefox-langpacks
|
||||
|
||||
|
@ -26,5 +23,8 @@ RUN rpm-ostree override remove bash-color-prompt
|
|||
# Remove rpm metadata cache
|
||||
RUN rpm-ostree cleanup --repomd
|
||||
|
||||
# Apply configuration
|
||||
COPY etc /etc
|
||||
|
||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||
RUN ostree container commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue