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
|
FROM quay.io/fedora-ostree-desktops/kinoite:41
|
||||||
|
|
||||||
# Apply configuration
|
|
||||||
COPY etc /etc
|
|
||||||
|
|
||||||
# Remove firefox
|
# Remove firefox
|
||||||
RUN rpm-ostree override remove firefox firefox-langpacks
|
RUN rpm-ostree override remove firefox firefox-langpacks
|
||||||
|
|
||||||
|
@ -26,5 +23,8 @@ RUN rpm-ostree override remove bash-color-prompt
|
||||||
# Remove rpm metadata cache
|
# Remove rpm metadata cache
|
||||||
RUN rpm-ostree cleanup --repomd
|
RUN rpm-ostree cleanup --repomd
|
||||||
|
|
||||||
|
# Apply configuration
|
||||||
|
COPY etc /etc
|
||||||
|
|
||||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||||
RUN ostree container commit
|
RUN ostree container commit
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
FROM quay.io/fedora-ostree-desktops/kinoite:41
|
FROM quay.io/fedora-ostree-desktops/kinoite:41
|
||||||
|
|
||||||
# Apply configuration
|
|
||||||
COPY etc /etc
|
|
||||||
|
|
||||||
# Remove firefox
|
# Remove firefox
|
||||||
RUN rpm-ostree override remove firefox firefox-langpacks
|
RUN rpm-ostree override remove firefox firefox-langpacks
|
||||||
|
|
||||||
|
@ -30,5 +27,8 @@ RUN rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda && \
|
||||||
# Remove rpm metadata cache
|
# Remove rpm metadata cache
|
||||||
RUN rpm-ostree cleanup --repomd
|
RUN rpm-ostree cleanup --repomd
|
||||||
|
|
||||||
|
# Apply configuration
|
||||||
|
COPY etc /etc
|
||||||
|
|
||||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||||
RUN ostree container commit
|
RUN ostree container commit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue