File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed
Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11FROM archlinux:latest
2- RUN echo 'Server = http://mirrors.cat.net/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist \
3- && echo 'nameserver 1.1.1.1' > /etc/resolv.conf
4- RUN echo
5- RUN pacman -Syyu --noconfirm
6- RUN pacman -S archiso git arch-install-scripts sudo qt5-base cmake ninja base-devel --noconfirm
7- RUN pacman-key --init
2+ RUN echo 'Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
3+ RUN pacman -Sy --noconfirm reflector
4+ RUN reflector --protocol https -c Japan --sort rate --save /etc/pacman.d/mirrorlist
5+ RUN pacman -Syyu --noconfirm \
6+ git sudo python3 \
7+ base-devel cmake ninja qt5-base \
8+ archiso arch-install-scripts pyalpm
89COPY . /alterlinux
910WORKDIR /alterlinux
11+ RUN pacman-key --init
1012RUN ./tools/keyring.sh -a
1113ENTRYPOINT ["./build.sh" ]
1214CMD []
Original file line number Diff line number Diff line change @@ -1006,7 +1006,7 @@ make_prepare() {
10061006 if [[ -d " ${script_path} /.git" ]] && [[ " ${gitversion} " = false ]]; then
10071007 _version=" ${iso_version} -$( git rev-parse --short HEAD) "
10081008 fi
1009- " ${tools_dir} /alteriso-info.sh" -a " ${arch} " -b " ${boot_splash} " -c " ${channel_name% .add} " -d " ${iso_publisher} " -k " ${kernel} " -o " ${os_name} " -p " ${password} " -u " ${username} " -v " ${_version} "
1009+ " ${tools_dir} /alteriso-info.sh" -a " ${arch} " -b " ${boot_splash} " -c " ${channel_name% .add} " -d " ${iso_publisher} " -k " ${kernel} " -o " ${os_name} " -p " ${password} " -u " ${username} " -v " ${_version} " > " ${_info_file} "
10101010 fi
10111011}
10121012
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ sudo ./tools/keyring.sh --alter-add --arch32-add
2626Install the packages required for build.
2727
2828``` bash
29- sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools ninja cmake pyalpm
29+ sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools cmake pyalpm
3030```
3131
3232### Use the TUI
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ sudo ./tools/keyring.sh --alter-add --arch32-add
2525ビルドに必要なパッケージをインストールします。
2626
2727``` bash
28- sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools ninja cmake pyalpm
28+ sudo pacman -S --needed git make ninja arch-install-scripts squashfs-tools libisoburn dosfstools cmake pyalpm
2929```
3030
3131### TUIを使用する
You can’t perform that action at this time.
0 commit comments