mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix build
This commit is contained in:
@@ -52,6 +52,7 @@ jobs:
|
|||||||
file: docker/Dockerfile
|
file: docker/Dockerfile
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
|
linux/arm64/v8
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
+7
-7
@@ -14,7 +14,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
curl \
|
curl \
|
||||||
busybox \
|
busybox \
|
||||||
jq \
|
jq \
|
||||||
wget
|
wget \
|
||||||
|
&& \
|
||||||
|
if [ "$(uname -m)" = "x86_64" ]; \
|
||||||
|
then ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1; \
|
||||||
|
elif [ "$(uname -m)" = "aarch64" ]; \
|
||||||
|
then ln -s /usr/lib/aarch64-linux-musl/libc.so /lib/libc.musl-aarch64.so.1; \
|
||||||
|
fi
|
||||||
|
|
||||||
# 安装 Python 构建依赖并创建虚拟环境
|
# 安装 Python 构建依赖并创建虚拟环境
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -84,12 +90,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
ffmpeg \
|
ffmpeg \
|
||||||
nano \
|
nano \
|
||||||
&& dpkg-reconfigure --frontend noninteractive tzdata \
|
&& dpkg-reconfigure --frontend noninteractive tzdata \
|
||||||
&& \
|
|
||||||
if [ "$(uname -m)" = "x86_64" ]; \
|
|
||||||
then ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1; \
|
|
||||||
elif [ "$(uname -m)" = "aarch64" ]; \
|
|
||||||
then ln -s /usr/lib/aarch64-linux-musl/libc.so /lib/libc.musl-aarch64.so.1; \
|
|
||||||
fi \
|
|
||||||
&& curl https://rclone.org/install.sh | bash \
|
&& curl https://rclone.org/install.sh | bash \
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
|
|||||||
Reference in New Issue
Block a user