forked from limetech/dockerapp-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (20 loc) · 812 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
FROM phusion/baseimage:0.9.16
MAINTAINER Lime Technology <[email protected]>
#Based on the work of gfjardim <[email protected]>
#########################################
## ENVIRONMENTAL CONFIG ##
#########################################
# Set correct environment variables
ENV HOME="/root" LC_ALL="C.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8"
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
#########################################
## RUN INSTALL SCRIPT ##
#########################################
ADD * /tmp/
RUN chmod +x /tmp/install.sh && /tmp/install.sh && rm /tmp/install.sh
#########################################
## EXPORTS AND VOLUMES ##
#########################################
VOLUME /config
EXPOSE 3838/udp 5555 8888