-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
41 lines (34 loc) · 1.39 KB
/
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
35
36
37
38
39
40
41
# ------------------------------------------------------------------------------
# Pull base image
FROM fullaxx/ubuntu-desktop
MAINTAINER Brett Kuskie <fullaxx@gmail.com>
# ------------------------------------------------------------------------------
# Set environment variables
ENV DEBIAN_FRONTEND noninteractive
ENV LANG C
# ------------------------------------------------------------------------------
# Install prerequisites and clean up
RUN apt-get update && \
apt-get install -y --no-install-recommends \
openvpn \
tree && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
# ------------------------------------------------------------------------------
# Provide default BiglyBT config
COPY conf/biglybt.config /usr/share/biglybt/biglybt.config.default
# ------------------------------------------------------------------------------
# Install startup scripts
COPY app/*.sh app/*.zip /app/
COPY conf/autostart conf/menu.xml /usr/share/ubuntu-desktop/openbox/
COPY scripts/*.sh /app/scripts/
COPY plugins/* /app/plugins/
# ------------------------------------------------------------------------------
# Identify Volumes
VOLUME /data
# ------------------------------------------------------------------------------
# Expose ports
EXPOSE 5901
# ------------------------------------------------------------------------------
# Define default command
CMD ["/app/app.sh"]