Skip to content

Instantly share code, notes, and snippets.

@tokejepsen
Last active December 11, 2017 23:33
Show Gist options
  • Save tokejepsen/d7e9a87a3aceaf214052151126409e42 to your computer and use it in GitHub Desktop.
Save tokejepsen/d7e9a87a3aceaf214052151126409e42 to your computer and use it in GitHub Desktop.
Dropbox Dockerfile
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