aboutsummaryrefslogtreecommitdiff
path: root/deployment/linux-x64
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/linux-x64')
-rw-r--r--deployment/linux-x64/Dockerfile1
-rwxr-xr-xdeployment/linux-x64/docker-build.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/deployment/linux-x64/Dockerfile b/deployment/linux-x64/Dockerfile
index d634b55de..44ded66ec 100644
--- a/deployment/linux-x64/Dockerfile
+++ b/deployment/linux-x64/Dockerfile
@@ -9,6 +9,7 @@ ENV SOURCE_DIR=/jellyfin
ENV ARTIFACT_DIR=/dist
ENV DEB_BUILD_OPTIONS=noddebs
ENV ARCH=amd64
+ENV web_branch=release-10.4.z
# Prepare Debian build environment
RUN apt-get update \
diff --git a/deployment/linux-x64/docker-build.sh b/deployment/linux-x64/docker-build.sh
index 8860f943c..bb899a82f 100755
--- a/deployment/linux-x64/docker-build.sh
+++ b/deployment/linux-x64/docker-build.sh
@@ -14,7 +14,7 @@ web_target="${SOURCE_DIR}/MediaBrowser.WebDashboard/jellyfin-web"
git clone https://github.com/jellyfin/jellyfin-web.git ${web_build_dir}/
pushd ${web_build_dir}
if [[ -n ${web_branch} ]]; then
- checkout -b origin/${web_branch}
+ git checkout origin/${web_branch}
fi
yarn install
mkdir -p ${web_target}