-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
23 lines (22 loc) · 858 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
FROM linuxserver/baseimage
MAINTAINER Wes Jackson <icebal.7@gmail.com>
ENV APTLIST="oracle-java8-installer unzip"
#accept the Oracle license to autmate install
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
# Install Dependencies
RUN add-apt-repository ppa:webupd8team/java && \
apt-get update && \
apt-get install -qy $APTLIST && \
apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/* && \
mkdir /config/ubooquity && \
cd /config/ubooquity && \
wget --trust-server-names "http://vaemendis.net/ubooquity/service/download.php" -O ubooquity.zip && \
unzip ubooquity*.zip && \
rm ubooquity*.zip
#Adding Custom files
COPY init/ /etc/my_init.d/
COPY services/ /etc/service/
COPY defaults/ /defaults
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
VOLUME ["/config"]
EXPOSE 2202