aboutsummaryrefslogtreecommitdiff
path: root/dropbox/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'dropbox/Dockerfile')
-rw-r--r--dropbox/Dockerfile19
1 files changed, 0 insertions, 19 deletions
diff --git a/dropbox/Dockerfile b/dropbox/Dockerfile
deleted file mode 100644
index 7e6ff2b..0000000
--- a/dropbox/Dockerfile
+++ /dev/null
@@ -1,19 +0,0 @@
1FROM frolvlad/alpine-glibc:latest
2LABEL maintainer="Mike Crute <mike@crute.us>"
3
4RUN set -eu -o pipefail; \
5 apk --no-cache add dumb-init runit su-exec; \
6 wget -O /tmp/dropbox.tar.gz https://www.dropbox.com/download?plat=lnx.x86_64; \
7 mkdir -p /opt/dropbox; \
8 tar -C /opt/dropbox/ --strip-components=1 -xf /tmp/dropbox.tar.gz; \
9 rm -rf /tmp/*;
10
11ADD entrypoint.sh /
12ADD dropbox-srv/ /opt/dropbox-srv
13
14ENTRYPOINT [ "/entrypoint.sh" ]
15
16# Dropbox is a persnickety process that will die without error for no obvious
17# reason. Run it with runsv so that it will get restarted when it does die
18# instead of killing the whole container..
19CMD [ "/sbin/runsv", "/opt/dropbox-srv" ]