mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-19 23:04:25 +02:00
Replaced cp by rsync to keep .git folder for workflow
This commit is contained in:
parent
7aed3dd8c2
commit
94796efae8
@ -9,6 +9,7 @@ RUN pacman -Syu --noconfirm \
|
|||||||
python-setuptools \
|
python-setuptools \
|
||||||
alsa-lib \
|
alsa-lib \
|
||||||
go \
|
go \
|
||||||
|
rsync \
|
||||||
&& pacman -Scc --noconfirm
|
&& pacman -Scc --noconfirm
|
||||||
|
|
||||||
# 2) Stub out systemctl & yay so post-install hooks and AUR calls never fail
|
# 2) Stub out systemctl & yay so post-install hooks and AUR calls never fail
|
||||||
@ -51,9 +52,7 @@ RUN pkgmgr install cymais --clone-mode https
|
|||||||
# 8) Override installed CyMaIS with local source and clean ignored files
|
# 8) Override installed CyMaIS with local source and clean ignored files
|
||||||
RUN CMAIS_PATH=$(pkgmgr path cymais) && \
|
RUN CMAIS_PATH=$(pkgmgr path cymais) && \
|
||||||
rm -rf "$CMAIS_PATH"/* && \
|
rm -rf "$CMAIS_PATH"/* && \
|
||||||
cp -R /opt/cymais-src/* "$CMAIS_PATH"/ && \
|
rsync -a --delete --exclude='.git' /opt/cymais-src/ "$CMAIS_PATH"/
|
||||||
cd "$CMAIS_PATH" && \
|
|
||||||
make clean
|
|
||||||
|
|
||||||
# 9) Symlink the cymais script into /usr/local/bin so ENTRYPOINT works
|
# 9) Symlink the cymais script into /usr/local/bin so ENTRYPOINT works
|
||||||
RUN CMAIS_PATH=$(pkgmgr path cymais) && \
|
RUN CMAIS_PATH=$(pkgmgr path cymais) && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user