bigbluebutton-Github/labs/docker/coturn/Dockerfile

15 lines
547 B
Docker

FROM ubuntu:16.04
RUN apt-get update && apt-get install -y coturn wget
ENV DOCKERIZE_VERSION v0.6.1
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
COPY ./turnserver.conf.tmpl /etc/turnserver.conf.tmpl
CMD [ "dockerize", \
"-template", "/etc/turnserver.conf.tmpl:/etc/turnserver.conf", \
"turnserver", "--syslog" ]