@@ -2,6 +2,8 @@ FROM archlinux:latest
|
||||
|
||||
# set mirror
|
||||
RUN echo "Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
||||
RUN pacman -Sy archlinux-keyring && yes | pacman -Scc
|
||||
RUN pacman-key --init
|
||||
RUN pacman -Syu --noconfirm ffmpeg && yes | pacman -Scc
|
||||
# copy project files
|
||||
COPY . /app
|
||||
|
||||
Reference in New Issue
Block a user