1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/red5/arm/Dockerfile

25 lines
594 B
Docker
Raw Normal View History

2016-07-06 17:05:21 +02:00
#
# Dockerfile for red5-arm
#
2018-01-02 17:28:05 +02:00
FROM easypi/alpine-arm
2016-07-06 17:05:21 +02:00
MAINTAINER EasyPi Software Foundation
2017-06-12 10:23:06 +02:00
ENV RED5_VERSION 1.0.9
2016-07-06 17:05:21 +02:00
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 \
2018-01-02 17:28:05 +02:00
&& apk add --no-cache --progress bash curl openjdk8-jre tar \
2016-07-06 17:05:21 +02:00
&& curl -sSL ${RED5_URL} | tar xz --strip 1 \
2018-01-02 17:28:05 +02:00
&& apk del curl tar
2016-07-06 17:05:21 +02:00
2018-01-02 17:28:05 +02:00
ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk/jre
2016-07-06 17:05:21 +02:00
ENV PATH $PATH:$JAVA_HOME/bin
EXPOSE 843 1935 5080 5443 8081 8443
ENTRYPOINT ["./red5.sh"]