The Free Software Media System - Server Backend & API
Use git checkout instead of file copies to clean
Joshua M. Bonifacede66ab4d8326
diff --git a/deployment/Dockerfile.debian.amd64 b/deployment/Dockerfile.debian.amd64index b5a0380489..ea2aba5a89 100644--- a/deployment/Dockerfile.debian.amd64+++ b/deployment/Dockerfile.debian.amd64@@ -12,7 +12,7 @@ ENV IS_DOCKER=YES# Prepare Debian build environmentRUN apt-get update \- && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv libc6-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libssl-dev libssl1.1 liblttng-ust0+ && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv libc6-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libssl-dev libssl1.1 liblttng-ust0 git# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-currentdiff --git a/deployment/Dockerfile.debian.arm64 b/deployment/Dockerfile.debian.arm64index cfe562df33..db8485b43d 100644--- a/deployment/Dockerfile.debian.arm64+++ b/deployment/Dockerfile.debian.arm64@@ -12,7 +12,7 @@ ENV IS_DOCKER=YES# Prepare Debian build environmentRUN apt-get update \- && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv+ && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv git# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-currentdiff --git a/deployment/Dockerfile.debian.armhf b/deployment/Dockerfile.debian.armhfindex ea8c8c8e62..717bc3c894 100644--- a/deployment/Dockerfile.debian.armhf+++ b/deployment/Dockerfile.debian.armhf@@ -12,7 +12,7 @@ ENV IS_DOCKER=YES# Prepare Debian build environmentRUN apt-get update \- && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv+ && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv git# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-currentdiff --git a/deployment/Dockerfile.ubuntu.amd64 b/deployment/Dockerfile.ubuntu.amd64index e61be4efcc..7c2b26dedd 100644--- a/deployment/Dockerfile.ubuntu.amd64+++ b/deployment/Dockerfile.ubuntu.amd64@@ -12,7 +12,7 @@ ENV IS_DOCKER=YES# Prepare Debian build environmentRUN apt-get update \- && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv libc6-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libssl-dev libssl1.1 liblttng-ust0+ && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv libc6-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libssl-dev libssl1.1 liblttng-ust0 git# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-currentdiff --git a/deployment/Dockerfile.ubuntu.arm64 b/deployment/Dockerfile.ubuntu.arm64index e34ef7edd1..27f8ec11b5 100644--- a/deployment/Dockerfile.ubuntu.arm64+++ b/deployment/Dockerfile.ubuntu.arm64@@ -12,7 +12,7 @@ ENV IS_DOCKER=YES# Prepare Debian build environmentRUN apt-get update \- && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv+ && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv git# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-currentdiff --git a/deployment/Dockerfile.ubuntu.armhf b/deployment/Dockerfile.ubuntu.armhfindex 6f92c81ab1..c888c42df6 100644--- a/deployment/Dockerfile.ubuntu.armhf+++ b/deployment/Dockerfile.ubuntu.armhf@@ -12,7 +12,7 @@ ENV IS_DOCKER=YES# Prepare Debian build environmentRUN apt-get update \- && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv+ && apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv git# Install dotnet repository# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-currentdiff --git a/deployment/build.debian.amd64 b/deployment/build.debian.amd64index 0eb9ee5c83..8e205867b8 100755--- a/deployment/build.debian.amd64+++ b/deployment/build.debian.amd64@@ -21,7 +21,7 @@ mkdir -p ${ARTIFACT_DIR}/mv ../jellyfin[-_]* ${ARTIFACT_DIR}/if [[ ${IS_DOCKER} == YES ]]; then- mv debian/control.orig debian/control+ git checkout debian/controlchown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}fidiff --git a/deployment/build.debian.arm64 b/deployment/build.debian.arm64index d1ce85e2fa..436602d195 100755--- a/deployment/build.debian.arm64+++ b/deployment/build.debian.arm64@@ -22,7 +22,7 @@ mkdir -p ${ARTIFACT_DIR}/mv ../jellyfin[-_]* ${ARTIFACT_DIR}/if [[ ${IS_DOCKER} == YES ]]; then- mv debian/control.orig debian/control+ git checkout debian/controlchown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}fidiff --git a/deployment/build.debian.armhf b/deployment/build.debian.armhfindex 3941583544..9ca57b1e46 100755--- a/deployment/build.debian.armhf+++ b/deployment/build.debian.armhf@@ -22,7 +22,7 @@ mkdir -p ${ARTIFACT_DIR}/mv ../jellyfin[-_]* ${ARTIFACT_DIR}/if [[ ${IS_DOCKER} == YES ]]; then- mv debian/control.orig debian/control+ git checkout debian/controlchown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}fidiff --git a/deployment/build.ubuntu.amd64 b/deployment/build.ubuntu.amd64index 86653cb384..2b789cc475 100755--- a/deployment/build.ubuntu.amd64+++ b/deployment/build.ubuntu.amd64@@ -21,7 +21,7 @@ mkdir -p ${ARTIFACT_DIR}/mv ../jellyfin[-_]* ${ARTIFACT_DIR}/if [[ ${IS_DOCKER} == YES ]]; then- mv debian/control.orig debian/control+ git checkout debian/controlchown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}fidiff --git a/deployment/build.ubuntu.arm64 b/deployment/build.ubuntu.arm64index f065170092..9b4e548501 100755--- a/deployment/build.ubuntu.arm64+++ b/deployment/build.ubuntu.arm64@@ -22,7 +22,7 @@ mkdir -p ${ARTIFACT_DIR}/mv ../jellyfin[-_]* ${ARTIFACT_DIR}/if [[ ${IS_DOCKER} == YES ]]; then- mv debian/control.orig debian/control+ git checkout debian/controlchown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}fidiff --git a/deployment/build.ubuntu.armhf b/deployment/build.ubuntu.armhfindex 679fde5ae1..59912a14f5 100755--- a/deployment/build.ubuntu.armhf+++ b/deployment/build.ubuntu.armhf@@ -22,7 +22,7 @@ mkdir -p ${ARTIFACT_DIR}/mv ../jellyfin[-_]* ${ARTIFACT_DIR}/if [[ ${IS_DOCKER} == YES ]]; then- mv debian/control.orig debian/control+ git checkout debian/controlchown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}fi