mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-09 22:43:44 +08:00
fix(docker): Remove musl-dev and related code
This commit is contained in:
@@ -18,7 +18,6 @@ ENV LANG="C.UTF-8" \
|
|||||||
ENV PATH="${VENV_PATH}/bin:${PATH}"
|
ENV PATH="${VENV_PATH}/bin:${PATH}"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
musl-dev \
|
|
||||||
nginx \
|
nginx \
|
||||||
gettext-base \
|
gettext-base \
|
||||||
locales \
|
locales \
|
||||||
@@ -34,12 +33,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
rsync \
|
rsync \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
nano \
|
nano \
|
||||||
&& \
|
|
||||||
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 \
|
|
||||||
&& dpkg-reconfigure --frontend noninteractive tzdata \
|
&& dpkg-reconfigure --frontend noninteractive tzdata \
|
||||||
&& curl https://rclone.org/install.sh | bash \
|
&& curl https://rclone.org/install.sh | bash \
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
@@ -63,17 +56,10 @@ ENV PATH="${VENV_PATH}/bin:${PATH}"
|
|||||||
# 安装系统构建依赖
|
# 安装系统构建依赖
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
build-essential \
|
build-essential \
|
||||||
musl-dev \
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user