mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
using archlinux/archlinux:base-devel
This commit is contained in:
parent
cd90bc67f2
commit
13057e7d48
@ -1,4 +1,4 @@
|
|||||||
FROM archlinux/base
|
FROM archlinux/archlinux:base-devel
|
||||||
|
|
||||||
RUN mkdir -p /etc/pacman.d/hooks \
|
RUN mkdir -p /etc/pacman.d/hooks \
|
||||||
&& ln -s /dev/null /etc/pacman.d/hooks/30-systemd-tmpfiles.hook
|
&& ln -s /dev/null /etc/pacman.d/hooks/30-systemd-tmpfiles.hook
|
||||||
@ -7,8 +7,6 @@ RUN echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pa
|
|||||||
|
|
||||||
RUN pacman -Syu --noconfirm \
|
RUN pacman -Syu --noconfirm \
|
||||||
&& pacman -S --needed --noconfirm \
|
&& pacman -S --needed --noconfirm \
|
||||||
base \
|
|
||||||
base-devel \
|
|
||||||
autoconf-archive \
|
autoconf-archive \
|
||||||
help2man \
|
help2man \
|
||||||
m4 \
|
m4 \
|
||||||
@ -41,7 +39,8 @@ RUN pacman -Syu --noconfirm \
|
|||||||
socat \
|
socat \
|
||||||
eslint \
|
eslint \
|
||||||
npm \
|
npm \
|
||||||
&& (pacman -Sc --noconfirm || true)
|
&& (pacman -Sc --noconfirm || true) \
|
||||||
|
&& rm -rf /var/cache/pacman/pkg/*
|
||||||
|
|
||||||
COPY testenv/requirements.txt requirements.txt
|
COPY testenv/requirements.txt requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user