-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathDockerfile
34 lines (28 loc) · 896 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM phusion/baseimage
## Install nimble and move all config files to /etc/nimble.conf
##
RUN echo "deb http://nimblestreamer.com/ubuntu xenial/" > /etc/apt/sources.list.d/nimblestreamer.list \
&& curl -L -s http://nimblestreamer.com/gpg.key | apt-key add - \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y nimble \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& mkdir /etc/nimble.conf \
&& mv /etc/nimble/* /etc/nimble.conf
## Configuration volume
##
VOLUME /etc/nimble
## Cache volume
##
VOLUME /var/cache/nimble
## WMS panel username and password
## Only required for first time registration
##
ENV WMSPANEL_USER ""
ENV WMSPANEL_PASS ""
ENV WMSPANEL_SLICES ""
## Service configuration
##
ADD files/my_init.d /etc/my_init.d
ADD files/service /etc/service
ADD files/logrotate.d /etc/logrotate.d
EXPOSE 1935 8081