1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00

rename red5-server => red5

This commit is contained in:
kev 2016-07-04 23:02:35 +08:00
parent 131f81a118
commit 4bb73644f1
7 changed files with 53 additions and 33 deletions

View File

@ -74,7 +74,7 @@ A collection of delicious docker recipes.
- [x] plex :moneybag: - [x] plex :moneybag:
- [x] portia - [x] portia
- [x] pure-ftpd - [x] pure-ftpd
- [x] red5-server - [x] red5
- [x] redis-arm - [x] redis-arm
- [x] rsyncd - [x] rsyncd
- [x] rtmp - [x] rtmp

View File

@ -1,20 +0,0 @@
#
# Dockerfile for red5-server
#
FROM java:8-alpine
MAINTAINER kev <noreply@easypi.info>
ENV RED5_VERSION 1.0.7
WORKDIR /opt/red5-server
RUN set -xe \
&& apk add -U bash curl tar \
&& curl -sSL https://github.com/Red5/red5-server/releases/download/v${RED5_VERSION}-RELEASE/red5-server-${RED5_VERSION}-RELEASE.tar.gz | tar xz --strip 1 \
&& apk del curl tar \
&& rm -rf /var/cache/apk/*
EXPOSE 843 1935 5080 5443 8088 8443 9999
ENTRYPOINT ["./red5.sh"]

View File

@ -1,8 +0,0 @@
red5-server
===========
![](https://badge.imagelayers.io/vimagick/red5-server:latest.svg)
[Red5][1] is an Open Source Flash Server written in Java.
[1]: https://github.com/Red5/red5-server

View File

@ -1,4 +0,0 @@
red5-server:
image: vimagick/red5-server
net: host
restart: always

21
red5/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
#
# Dockerfile for red5
#
FROM java:8-alpine
MAINTAINER kev <noreply@easypi.info>
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"]

24
red5/README.md Normal file
View File

@ -0,0 +1,24 @@
red5
====
![](https://badge.imagelayers.io/vimagick/red5-server:latest.svg)
[Red5][1] is an Open Source Flash Server written in Java.
## docker-compose.yml
```yaml
red5:
image: vimagick/red5
ports:
- "1935:1935" # rtmp/e
- "5080:5080" # http
- "8081:8081" # websocket
restart: always
```
## references
- <https://github.com/Red5/docker>
[1]: https://github.com/Red5/red5-server

7
red5/docker-compose.yml Normal file
View File

@ -0,0 +1,7 @@
red5:
image: vimagick/red5
ports:
- "1935:1935" # rtmp/e
- "5080:5080" # http
- "8081:8081" # websocket
restart: always