docker-build.sh 388 B

12345678910111213141516171819
  1. #!/bin/bash
  2. # Builds the DEB inside the Docker container
  3. set -o errexit
  4. set -o xtrace
  5. # Move to source directory
  6. pushd ${SOURCE_DIR}
  7. # Remove build-dep for dotnet-sdk-2.2, since it's not a package in this image
  8. sed -i '/dotnet-sdk-2.2,/d' debian/control
  9. # Build DEB
  10. dpkg-buildpackage -us -uc
  11. # Move the artifacts out
  12. mkdir -p ${ARTIFACT_DIR}/deb
  13. mv /jellyfin_* ${ARTIFACT_DIR}/deb/