OSDN Git Service

[update] : Rofi setting for new version
[alterlinux/alterlinux.git] / Dockerfile
index 62ca921..62264ac 100644 (file)
@@ -1,9 +1,14 @@
 FROM archlinux:latest
-RUN echo 'Server = https://mirrors.cat.net/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
-RUN pacman -Syyu --noconfirm
-RUN pacman -S git archiso arch-install-scripts --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-stable
-RUN ./keyring.sh -ca
-CMD ["./build.sh", "-b"]
+RUN pacman-key --init
+RUN ./tools/keyring.sh -a
+ENTRYPOINT ["./build.sh"]
+CMD []