Skip to content

Commit aac090d

Browse files
committed
[fix]: Dockerfile 必須パッケージの追加 パッケージミラーを追加 DNS設定の削除
1 parent 5343880 commit aac090d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
FROM 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
2+
RUN echo -n > /etc/pacman.d/mirrorlist
3+
RUN echo 'Server = http://mirrors.cat.net/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
4+
RUN echo 'Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
55
RUN pacman -Syyu --noconfirm
6-
RUN pacman -S archiso git arch-install-scripts sudo qt5-base cmake ninja base-devel --noconfirm
6+
RUN pacman -S --noconfirm git sudo python3 \
7+
base-devel cmake ninja qt5-base \
8+
archiso arch-install-scripts pyalpm
79
RUN pacman-key --init
810
COPY . /alterlinux
911
WORKDIR /alterlinux

0 commit comments

Comments
 (0)