The Free Software Media System - Server Backend & API
Clean up ubuntu-x64 build steps
Joshua Bonifacef02ab9818a69
diff --git a/deployment/ubuntu-package-x64/Dockerfile b/deployment/ubuntu-package-x64/Dockerfileindex 1749d2ad04..99022891bd 100644--- a/deployment/ubuntu-package-x64/Dockerfile+++ b/deployment/ubuntu-package-x64/Dockerfile@@ -14,11 +14,11 @@ RUN apt-get update \&& ln -sf ${PLATFORM_DIR}/docker-build.sh /docker-build.sh \&& mkdir -p ${SOURCE_DIR} && ln -sf ${PLATFORM_DIR}/pkg-src ${SOURCE_DIR}/debian-# Install yarn package manager-RUN wget -q -O- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \- && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \+# Install npm package manager+RUN wget -q -O- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \+ && echo "deb https://deb.nodesource.com/node_8.x $(lsb_release -s -c) main" > /etc/apt/sources.list.d/npm.list \&& apt update \- && apt install -y yarn+ && apt install -y nodejsVOLUME ${ARTIFACT_DIR}/diff --git a/deployment/ubuntu-package-x64/docker-build.sh b/deployment/ubuntu-package-x64/docker-build.shindex 97bc45a060..9781879f6f 100755--- a/deployment/ubuntu-package-x64/docker-build.sh+++ b/deployment/ubuntu-package-x64/docker-build.sh@@ -11,20 +11,6 @@ pushd ${SOURCE_DIR}# Remove build-dep for dotnet-sdk-2.2, since it's not a package in this imagesed -i '/dotnet-sdk-2.2,/d' debian/control-# Clone down and build Web frontend-web_build_dir="$( mktemp -d )"-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}-fi-yarn install-mkdir -p ${web_target}-mv dist/* ${web_target}/-popd-rm -rf ${web_build_dir}-# Build DEBdpkg-buildpackage -us -uc