1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update red5-server

This commit is contained in:
kev 2016-05-17 15:18:44 +08:00
parent 991bc9de03
commit 195dd00a54
2 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# Dockerfile for red5-server
#
FROM java:8
FROM java:8-alpine
MAINTAINER kev <noreply@easypi.info>
ENV RED5_VERSION 1.0.7
@ -10,11 +10,10 @@ ENV RED5_VERSION 1.0.7
WORKDIR /opt/red5-server
RUN set -xe \
&& apt-get update \
&& apt-get install -y curl \
&& 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 \
&& apt-get remove -y curl \
&& rm -rf /var/lib/apt/lists/*
&& apk del curl tar \
&& rm -rf /var/cache/apk/*
EXPOSE 843 1935 5080 5443 8088 8443 9999

View File

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