This commit is contained in:
syui 2024-02-13 09:51:49 +09:00
parent ab236ed8f5
commit 2056dcb601
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ jobs:
arch-chroot root.x86_64 /bin/sh -c 'pacman-key --init'
arch-chroot root.x86_64 /bin/sh -c 'pacman-key --populate archlinux'
arch-chroot root.x86_64 /bin/sh -c 'pacman -Syu --noconfirm base base-devel linux vim git zsh rust openssh openssl jq'
arch-chroot root.x86_64 /bin/sh -c 'chsh -s /bin/zsh'
arch-chroot root.x86_64 /bin/sh -c 'git clone https://git.syui.ai/ai/bot && cd bot && cargo build && cp -rf ./target/debug/ai /bin/ && ai ai'
tar -zcvf aios-bootstrap.tar.gz root.x86_64/
tar -C ./root.x86_64 -c . | docker import - ${{ env.IMAGE_NAME }}

View File

@ -48,4 +48,5 @@ tar -C ./root.x86_64 -c . | docker import - syui/aios
docker images -a
docker run --rm syui/aios ai
#arch-chroot root.x86_64
#docker push syui/aios