Last active
December 11, 2017 23:33
-
-
Save tokejepsen/d7e9a87a3aceaf214052151126409e42 to your computer and use it in GitHub Desktop.
Dropbox Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN apt-get -qq update | |
RUN apt-get install python wget -y | |
RUN cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - | |
RUN wget -O dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py | |
VOLUME /root/Dropbox | |
VOLUME /root/.dropbox | |
CMD ~/.dropbox-dist/dropboxd | |
# docker build --tag dropbox:latest . | |
# docker run -i -v /path/to/dropbox/data:/root/Dropbox dropbox:latest | |
# Different terminal | |
# docker exec -i dropbox python dropbox.py status | |
# Figure out why dropbox indexing is so slow when mounting data volumes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment