Created
September 30, 2017 14:44
-
-
Save ddunkin/455cb8fb104820640a832b499ec67f10 to your computer and use it in GitHub Desktop.
Red5 dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Red5 + Java 8 Dockerfile | |
# | |
# forked from https://github.com/Red5/docker | |
# | |
FROM java:8 | |
MAINTAINER Paul Gregoire <[email protected]> | |
ENV RED5_VERSION 1.0.9-RELEASE | |
# Define RED5_HOME variable | |
ENV RED5_HOME /opt/red5 | |
RUN mkdir -p $RED5_HOME | |
RUN wget -q https://github.com/Red5/red5-server/releases/download/v${RED5_VERSION}/red5-server-${RED5_VERSION}.tar.gz -O red5.tar.gz && \ | |
tar -xf red5.tar.gz --strip 1 -C ${RED5_HOME} | |
# https://docs.docker.com/userguide/dockervolumes/ | |
VOLUME [ $RED5_HOME ] | |
WORKDIR $RED5_HOME | |
EXPOSE 843 1935 5080 5443 8081 8443 | |
ENTRYPOINT ["./red5.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment