[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Docker pkgbuild #824

Merged

Conversation

joshuaboniface
Copy link
Member
@joshuaboniface joshuaboniface commented Feb 6, 2019

Changes
Cleans up the 3 main Docker package builds (Debian, Fedora, and CentOS), and adds a 4th Ubuntu one, to use a reproducible Docker+Script build method, similar to how jellyfin/jellyfin-android works. The built Docker image is thus reusable, and can be kept around by passing the -k/--keep-artifacts argument first to build, thus allowing one to skip most of the environment setup when rebuilding if desired. This also fixes up a couple problems with the Fedora (and CentOS) builds as originally suggested in #806.

Issues
N/A

Copy link
Contributor
@JustAMan JustAMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM, minor notes only I think

deployment/centos-package-x64/Dockerfile Show resolved Hide resolved
deployment/debian-package-x64/clean.sh Outdated Show resolved Hide resolved
deployment/debian-package-x64/package.sh Outdated Show resolved Hide resolved
deployment/fedora-package-x64/clean.sh Show resolved Hide resolved
Copy link
Member
@nvllsvm nvllsvm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No particular changes necessary, but need some discussion.

Also, have a look at https://docs.docker.com/samples/library/buildpack-deps/

deployment/centos-package-x64/Dockerfile Outdated Show resolved Hide resolved
deployment/centos-package-x64/Dockerfile Outdated Show resolved Hide resolved
deployment/centos-package-x64/Dockerfile Show resolved Hide resolved
deployment/debian-package-x64/Dockerfile Outdated Show resolved Hide resolved
deployment/ubuntu-package-x64/Dockerfile Outdated Show resolved Hide resolved
Copy link
Member
@nvllsvm nvllsvm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@joshuaboniface joshuaboniface merged commit d6c669a into jellyfin:master Feb 10, 2019
@joshuaboniface joshuaboniface deleted the improved-docker-pkgbuild branch February 19, 2019 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants