Go to file
2024-02-12 09:28:34 +09:00
archiso@1f65b695d3 add docker 2024-02-12 09:28:34 +09:00
archlinux-docker@98cd79111d add docker 2024-02-12 09:28:34 +09:00
cfg add docker 2024-02-12 09:28:34 +09:00
icon add docker 2024-02-12 09:28:34 +09:00
scpt add docker 2024-02-12 09:28:34 +09:00
.gitignore add docker 2024-02-12 09:28:34 +09:00
build.zsh add docker 2024-02-12 09:28:34 +09:00
README.md add docker 2024-02-12 09:28:34 +09:00

ai os

docker

$ docker run --rm syui/aios ai

archiso

$ pacman -S archiso
$ git clone https://git.syui.ai/ai/os
$ cd os
$ git clone https://gitlab.archlinux.org/archlinux/archlinux-docker
$ git clone https://gitlab.archlinux.org/archlinux/archiso

$ vim ./archiso/configs/releng/profiledef.sh

$ mkarchiso -v -o ./ ./archiso/configs/releng

system

./archiso/configs/releng/profiledef.sh

buildmodes=('bootstrap')
$ mkarchiso -v -o ./ ./archiso/configs/releng
$ tar xf aios-bootstrap*.tar.gz
$ echo -e 'Server = http://mirrors.cat.net/archlinux/$repo/os/$arch\nServer = https://geo.mirror.pkgbuild.com/$repo/os/$arch' >> ./root.x86_64/etc/pacman.d/mirrorlist
$ sed -i s/CheckSpace/#CheckeSpace/ root.x86_64/etc/pacman.conf
$ arch-chroot ./root.x86_64
---
$ pacman -S base base-devel linux vim git zsh rust
$ pacman-key --init
$ pacman-key --populate archlinux
$ exit
---
$ tar -C root.x86_64 -c . | docker import - syui/aios
$ docker images

$ docker run --rm syui/aios cargo version
cargo 1.75.0