Commit existing code

This commit is contained in:
flow.gunso
2019-03-14 18:51:47 +01:00
parent fe9235d00c
commit 9b2de96d42
6 changed files with 68 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM debian:jessie
#ENV UID=1000
#ENV GID=1000
#RUN groupadd -g $GID -o seadrive
#RUN useradd -m -u $UID -g $GID -o -s /bin/bash seadrive
ENV DEBIAN_FRONTEND noninteractive
COPY assets/seafile.list /etc/apt/sources.list.d/
COPY assets/supervisord.conf /etc/supervisor/
COPY entrypoint.sh /
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
RUN mkdir /seafile; mkdir /volume
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]