浏览代码

Merge pull request #2622 from Artiume/patch-5

Fix Release 10.5.z
dkanada 5 年之前
父节点
当前提交
816b3f5c2e
共有 3 个文件被更改,包括 6 次插入6 次删除
  1. 2 2
      Dockerfile
  2. 2 2
      Dockerfile.arm
  3. 2 2
      Dockerfile.arm64

+ 2 - 2
Dockerfile

@@ -4,8 +4,8 @@ ARG FFMPEG_VERSION=latest
 FROM node:alpine as web-builder
 ARG JELLYFIN_WEB_VERSION=10.5.1
 RUN apk add curl git \
- && curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
- && cd jellyfin-web-* \
+ && git clone --branch release-10.5.z --single-branch https://github.com/jellyfin/jellyfin-web.git \
+ && cd jellyfin-web \
  && yarn install \
  && yarn build \
  && mv dist /dist

+ 2 - 2
Dockerfile.arm

@@ -8,8 +8,8 @@ ARG DOTNET_VERSION=3.1
 FROM node:alpine as web-builder
 ARG JELLYFIN_WEB_VERSION=10.5.1
 RUN apk add curl git \
- && curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
- && cd jellyfin-web-* \
+ && git clone --branch release-10.5.z --single-branch https://github.com/jellyfin/jellyfin-web.git \
+ && cd jellyfin-web \
  && yarn install \
  && yarn build \
  && mv dist /dist

+ 2 - 2
Dockerfile.arm64

@@ -8,8 +8,8 @@ ARG DOTNET_VERSION=3.1
 FROM node:alpine as web-builder
 ARG JELLYFIN_WEB_VERSION=10.5.1
 RUN apk add curl git \
- && curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \
- && cd jellyfin-web-* \
+ && git clone --branch release-10.5.z --single-branch https://github.com/jellyfin/jellyfin-web.git \
+ && cd jellyfin-web \
  && yarn install \
  && yarn build \
  && mv dist /dist