mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
e6a0840cf0
* By default all major upgrades would be fully automatic. But the user can opt for manual upgrade by "./launcher rebuild --manual-upgrade"
17 lines
602 B
Docker
17 lines
602 B
Docker
FROM seafileorg/base:16.04
|
|
WORKDIR /opt/seafile
|
|
|
|
ENV SEAFILE_VERSION=6.0.5
|
|
|
|
# syslog-ng and syslog-forwarder would mess up the container stdout, not good
|
|
# when debugging/upgrading.
|
|
RUN sed -i -e 's|\(^exec syslog-ng.*$\)|\1 >>/var/log/syslog-ng.log 2>\&1|g' /etc/service/syslog-ng/run && \
|
|
rm -rf /etc/service/syslog-forwarder
|
|
|
|
RUN mkdir -p /opt/seafile/ && \
|
|
curl -sSL -o - https://bintray.com/artifact/download/seafile-org/seafile/seafile-server_6.0.5_x86-64.tar.gz \
|
|
| tar xzf - -C /opt/seafile/
|
|
|
|
RUN mkdir -p /etc/my_init.d
|
|
ADD create_data_links.sh /etc/my_init.d/create_data_links.sh
|