-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (25 loc) · 819 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
############################################################
# Dockerfile to run urbackup-client
# Based on Ubuntu Image
############################################################
FROM ubuntu:trusty
MAINTAINER Johnny Antonsen <[email protected]>
ENV VERSION 1.4.7
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install libcrypto++-dev build-essential wget && \
cd /root && \
wget -O - http://netcologne.dl.sourceforge.net/project/urbackup/Server/$VERSION/urbackup-server-$VERSION.tar.gz | tar zxf - && \
cd urbackup* && \
./configure --enable-headless --without-mail && \
make -j 4 && \
make install && \
cd /root/ && \
rm -rf urbackup*
# Ports to expose
EXPOSE 35621
EXPOSE 35622
EXPOSE 35623
VOLUME /data
ENTRYPOINT ["/usr/local/sbin/start_urbackup_client"]
CMD ["--no_daemon"]