mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-17 14:04:24 +02:00
Added Dockerfile draft
This commit is contained in:
parent
24d2c0edb5
commit
8e4e497d2c
25
Dockerfile
Normal file
25
Dockerfile
Normal file
@ -0,0 +1,25 @@
|
||||
FROM archlinux:latest
|
||||
|
||||
# 1) Update system and install required tools
|
||||
RUN pacman -Syu --noconfirm \
|
||||
git \
|
||||
make \
|
||||
python \
|
||||
python-pip \
|
||||
&& pacman -Scc --noconfirm
|
||||
|
||||
# 2) Ensure ~/.local/bin is on PATH so pkgmgr & cymais are discoverable
|
||||
ENV PATH="/root/.local/bin:${PATH}"
|
||||
|
||||
# 3) Clone and install Kevin’s Package Manager
|
||||
RUN git clone https://github.com/kevinveenbirkenbach/package-manager.git /opt/package-manager \
|
||||
&& cd /opt/package-manager \
|
||||
&& make setup \
|
||||
&& ln -s /opt/package-manager/main.py /usr/local/bin/pkgmgr
|
||||
|
||||
# 4) Use pkgmgr to install CyMaIS
|
||||
RUN pkgmgr install cymais
|
||||
|
||||
# 5) Default entrypoint to the cymais CLI
|
||||
ENTRYPOINT ["cymais"]
|
||||
CMD ["--help"]
|
Loading…
x
Reference in New Issue
Block a user