mirror of
https://github.com/samrocketman/docker-compose-emby.git
synced 2026-05-01 17:09:29 +00:00
Abstract default Emby version for Dockerfile
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
FROM centos:7
|
FROM centos:7
|
||||||
|
|
||||||
|
ENV DEFAULT_EMBY_VERSION 3.5.2.0
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
yum install -y https://github.com/MediaBrowser/Emby.Releases/releases/download/3.5.2.0/emby-server-rpm_3.5.2.0_x86_64.rpm; \
|
yum install -y https://github.com/MediaBrowser/Emby.Releases/releases/download/${EMBY_VERSION:-${DEFAULT_EMBY_VERSION}}/emby-server-rpm_${EMBY_VERSION:-${DEFAULT_EMBY_VERSION}}_x86_64.rpm; \
|
||||||
yum clean all; \
|
yum clean all; \
|
||||||
rm -rf /var/cache/yum; \
|
rm -rf /var/cache/yum; \
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|||||||
Reference in New Issue
Block a user