X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Dockerfile;h=62264acf5fa027423a162d7d7bd8f0d6c9583a17;hb=17216118f6257371d082c8e4e8d8b9ffbdb59925;hp=a0d87002d9cdc3d993c46e296e0628a162b21e0c;hpb=3aedd19c008e81db63f5442840ce2d41bd45605e;p=alterlinux%2Falterlinux.git diff --git a/Dockerfile b/Dockerfile index a0d87002..62264acf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,14 @@ FROM archlinux:latest -RUN echo 'Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist -RUN pacman -Syyu --noconfirm -RUN pacman -S git archiso arch-install-scripts sudo --noconfirm -RUN git clone https://github.com/SereneTeam/alterlinux.git alterlinux/ +RUN echo 'Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist +RUN pacman -Sy --noconfirm reflector +RUN reflector --protocol https -c Japan --sort rate --save /etc/pacman.d/mirrorlist +RUN pacman -Syyu --noconfirm \ + git sudo python3 \ + base-devel cmake ninja qt5-base \ + archiso arch-install-scripts pyalpm +COPY . /alterlinux WORKDIR /alterlinux -RUN git checkout dev -RUN ./keyring.sh -ca -CMD ["./build.sh", "-b"] +RUN pacman-key --init +RUN ./tools/keyring.sh -a +ENTRYPOINT ["./build.sh"] +CMD []