From 7447b8a933dbbca95813d28004ed0cec8821c82c Mon Sep 17 00:00:00 2001 From: Alexander Rasch Date: Tue, 30 Oct 2018 22:16:00 +0000 Subject: [PATCH] Added Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0fe4fcb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM plexinc/pms-docker:public + +MAINTAINER docker@custom-coding.net + +ENTRYPOINT ["/init"] + +COPY root/ / + +RUN apt-get update -qq && apt-get install -qq -y \ + fuse \ + wget \ + && echo "user_allow_other" > /etc/fuse.conf \ + && /plexdrive-install.sh \ + && rm -rf /tmp/* /var/lib/apt/lists/* + +HEALTHCHECK --interval=3m --timeout=100s \ +CMD test -r $(find ${PLEXDRIVE_MOUNT_POINT} -maxdepth 1 -print -quit) && /healthcheck.sh || exit 1 \ No newline at end of file