2016-07-04 17:02:35 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for red5
|
|
|
|
#
|
|
|
|
|
2016-07-07 11:30:08 +02:00
|
|
|
FROM java:8-jre-alpine
|
2017-05-08 01:05:07 +02:00
|
|
|
MAINTAINER kev <noreply@easypi.pro>
|
2016-07-04 17:02:35 +02:00
|
|
|
|
|
|
|
ENV RED5_VERSION 1.0.7
|
|
|
|
ENV RED5_FILE red5-server-${RED5_VERSION}-RELEASE.tar.gz
|
|
|
|
ENV RED5_URL https://github.com/Red5/red5-server/releases/download/v${RED5_VERSION}-RELEASE/${RED5_FILE}
|
|
|
|
|
|
|
|
WORKDIR /opt/red5
|
|
|
|
|
|
|
|
RUN set -xe \
|
|
|
|
&& apk add --no-cache bash curl tar \
|
|
|
|
&& curl -sSL ${RED5_URL} | tar xz --strip 1 \
|
|
|
|
&& apk del curl tar
|
|
|
|
|
|
|
|
EXPOSE 843 1935 5080 5443 8081 8443
|
|
|
|
|
|
|
|
ENTRYPOINT ["./red5.sh"]
|