OSDN Git Service

[fix] : Fixed cowspace
[alterlinux/alterlinux.git] / Dockerfile
1 FROM archlinux:latest
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
9 COPY . /alterlinux
10 WORKDIR /alterlinux
11 RUN pacman-key --init
12 RUN ./tools/keyring.sh -a
13 ENTRYPOINT ["./build.sh"]
14 CMD []