Improve overall documentation

This commit is contained in:
flow.gunso
2019-03-15 10:12:16 +01:00
parent eac51aa8ed
commit 4e65907b38
5 changed files with 90 additions and 8 deletions

View File

@@ -16,23 +16,28 @@
FROM debian:jessie
# Prevent the packages installation to halt.
ENV DEBIAN_FRONTEND noninteractive
# Prepare the directories.
RUN mkdir /.seafile ;\
mkdir /.supervisord ;\
mkdir /volume
# Put the core functionalities into the image.
COPY assets/seafile.list /etc/apt/sources.list.d/
COPY assets/supervisord.conf /.supervisord/
COPY assets/infinite-seaf-cli-start.sh /
COPY entrypoint.sh /
# Install both seafile-cli and supervisord.
RUN apt-key adv \
--keyserver hkp://keyserver.ubuntu.com:80 \
--recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61
RUN apt-get update ;\
apt-get install -o Dpkg::Options::="--force-confold" -y seafile-cli supervisor
# Configure the user.
ENV UNAME=seafuser
ENV UID=1000
ENV GID=1000