mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 14:51:43 +00:00
docker hub integration
This commit is contained in:
10
Dockerfile
10
Dockerfile
@ -35,12 +35,12 @@ RUN runuser -u build -- yay --noconfirm -Sy devtools git pyalpm python-inflectio
|
||||
## copy tree
|
||||
COPY --chown=build . "/home/build/ahriman"
|
||||
## create package archive and install it
|
||||
RUN cd /home/build/ahriman && \
|
||||
make VERSION="$(git describe --tags --abbrev=0)" archlinux && \
|
||||
cp ./*-src.tar.xz package/archlinux && \
|
||||
cd package/archlinux && \
|
||||
RUN cd "/home/build/ahriman" && \
|
||||
make VERSION=$(python -c "from src.ahriman.version import __version__; print(__version__)") archlinux && \
|
||||
cp ./*-src.tar.xz "package/archlinux" && \
|
||||
cd "package/archlinux" && \
|
||||
runuser -u build -- makepkg --noconfirm --install --skipchecksums && \
|
||||
cd - && rm -r /home/build/ahriman
|
||||
cd - && rm -r "/home/build/ahriman"
|
||||
|
||||
VOLUME ["/var/lib/ahriman"]
|
||||
|
||||
|
Reference in New Issue
Block a user