mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
将平台配置修改为 v2-hdmiusb-rpi4
Docker 构建时运行清理缓存的命令
This commit is contained in:
@@ -79,7 +79,9 @@ RUN pacman --noconfirm --ask=4 -Syy \
|
||||
&& rm -rf /var/cache/pacman/pkg/*
|
||||
|
||||
COPY testenv/requirements.txt requirements.txt
|
||||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip install --break-system-packages -r requirements.txt
|
||||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
|
||||
&& pip install --break-system-packages -r requirements.txt \
|
||||
&& pip cache purge
|
||||
|
||||
# https://stackoverflow.com/questions/57534295
|
||||
WORKDIR /root
|
||||
@@ -87,7 +89,8 @@ RUN npm config set registry https://registry.npmmirror.com \
|
||||
&& npm install htmlhint -g \
|
||||
&& npm install pug \
|
||||
&& npm install pug-cli -g \
|
||||
&& npm install @babel/eslint-parser -g
|
||||
&& npm install @babel/eslint-parser -g \
|
||||
&& npm cache clean -f
|
||||
WORKDIR /
|
||||
|
||||
ARG USTREAMER_MIN_VERSION
|
||||
|
||||
Reference in New Issue
Block a user