mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
actualized dockerfile
This commit is contained in:
parent
67460f872b
commit
68f28c69f3
@ -1,9 +1,10 @@
|
|||||||
FROM base/archlinux
|
FROM archlinux/base
|
||||||
|
|
||||||
RUN dd if=/dev/zero of=/root/loop.img bs=1024 count=1048576
|
RUN dd if=/dev/zero of=/root/loop.img bs=1024 count=1048576
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm \
|
RUN pacman -Syu --noconfirm \
|
||||||
&& pacman -S --noconfirm \
|
&& pacman -S --noconfirm \
|
||||||
|
base-devel \
|
||||||
git \
|
git \
|
||||||
patch \
|
patch \
|
||||||
make \
|
make \
|
||||||
@ -14,7 +15,7 @@ RUN pacman -Syu --noconfirm \
|
|||||||
sudo \
|
sudo \
|
||||||
systemd \
|
systemd \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
&& pacman -Sc --noconfirm
|
&& (pacman -Sc --noconfirm || true)
|
||||||
|
|
||||||
RUN useradd -r -d / packer \
|
RUN useradd -r -d / packer \
|
||||||
&& cd /tmp \
|
&& cd /tmp \
|
||||||
@ -45,7 +46,7 @@ RUN pacman -Syy \
|
|||||||
htmlhint \
|
htmlhint \
|
||||||
eslint \
|
eslint \
|
||||||
&& rm -rf /.npm \
|
&& rm -rf /.npm \
|
||||||
&& pacman -Sc --noconfirm
|
&& (pacman -Sc --noconfirm || true)
|
||||||
|
|
||||||
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