-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (21 loc) · 1.2 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
# Container to run on QNAP hardware to sync Google Drive to/from the QNAP
#
# Mount existing Google Drive contents (if you have it) to into the container
# before starting it. Set GDRIVE_PATH to wherever you mounted it into the
# container.
# Set INSYNC_AUTH to value returned from https://goo.gl/jv797S
FROM debian:latest
MAINTAINER <Joel>
LABEL description="Container for running insync (https://insynchq.com/) on a QNAP device to sync your Google Drive"
RUN apt-get update && apt-get install -y expect gnupg2 && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ACCAF35C && \
echo "deb http://apt.insynchq.com/debian stretch non-free contrib" > /etc/apt/sources.list.d/insync.list && \
apt-get update && apt-get install -y insync-headless && apt-get clean
#RUN apt-get update && apt-get install -y gnupg2 wget && \
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ACCAF35C && \
# wget https://d2t3ff60b2tol4.cloudfront.net/builds/insync_1.4.3.37063-stretch_amd64.deb && \
# apt-get install -y ./insync_1.4.3.37063-stretch_amd64.deb && \
# rm ./insync_1.4.3.37063-stretch_amd64.deb && apt-get clean
ADD start.sh /usr/local/bin/
ENV LANG en_US.UTF-8
CMD /usr/local/bin/start.sh