-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile1905
28 lines (20 loc) · 1 KB
/
Dockerfile1905
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
FROM ubuntu:18.04
LABEL maintainer="Sharapov A. <alexander@sharapov.biz>"
RUN apt-get -y update && \
apt-get install -y wget python-pip && \
wget -q -O /etc/apt/trusted.gpg.d/flussonic.gpg http://apt.flussonic.com/binary/gpg.key && \
echo "deb http://apt.flussonic.com binary/" > /etc/apt/sources.list.d/flussonic.list && \
apt-get -y update && \
apt-get -y install flussonic=19.05 flussonic-erlang=21.3.6 flussonic-transcoder-base=4.6.2 curl && \
pip install supervisor && \
apt-get clean autoclean && \
apt-get autoremove -y && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
COPY /etc/supervisord.conf /etc/supervisord.conf
# COPY /etc/flussonic.conf /etc/flussonic/flussonic.conf
# COPY /etc/license.txt /etc/flussonic/license.txt
ENV TERM linux
VOLUME ["/var/log/flussonic"]
EXPOSE 80 443 554 1554 1935 1443
CMD ["/usr/local/bin/supervisord"]
# HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD [ "200" = "$(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1/)" ] || exit 1