fix: prevent /etc/ merge issues (#43)

* fix: prevent /etc/ merge issues
discussed at length in #28
also including tons of comments about the issue

* fix: change references of /etc/ to /usr/etc
This commit is contained in:
Eino Rauhala
2023-04-26 18:23:43 +03:00
committed by GitHub
parent 37143b0e23
commit 085d26aa1a
5 changed files with 12 additions and 7 deletions

View File

@@ -5,7 +5,12 @@ FROM ${BASE_CONTAINER_URL}:${FEDORA_MAJOR_VERSION}
ARG RECIPE
# copy over configuration files
COPY etc /etc
# etc is copied to /usr/etc/ to prevent "merge conflicts"
# as it is the proper directory for "system" configuration files
# and /etc/ is for editing by the local admin
# see issue #28 (https://github.com/ublue-os/startingpoint/issues/28)
COPY etc /usr/etc
# uncomment below line if you need to put config files in /usr/
# COPY usr /usr
# copy scripts