-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
44 lines (36 loc) · 813 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM lsiobase/xenial
MAINTAINER madcatsu
# package versions
ARG AVSERVERHD_VERSION="2.2.3"
# global environment settings
ENV LANG C.UTF-8
# build environment settings
ARG DEBIAN_FRONTEND="noninteractive"
# install packages
RUN \
apt-get update && \
apt-get install -y \
--no-install-recommends \
vlc-nox && \
apt-get install -y \
avahi-daemon \
bzip2 \
dbus && \
# install airvideo
mkdir -p \
/opt/airvideohd && \
curl -o \
/tmp/airvideo.tar.bz2 -L \
"https://s3.amazonaws.com/AirVideoHD/Download/AirVideoServerHD-${AVSERVERHD_VERSION}.tar.bz2" && \
tar xjf \
/tmp/airvideo.tar.bz2 -C \
/opt/airvideohd --strip-components=1 && \
# cleanup
rm -rf \
/tmp/* \
/var/lib/apt/lists/*
# copy local files
COPY /root /
# ports and volumes
EXPOSE 45633 5353/udp
VOLUME /config /media /transcode