mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-17 01:11:19 +00:00
14 lines
388 B
Docker
14 lines
388 B
Docker
|
FROM seafileorg/base:16.04
|
||
|
WORKDIR /opt/seafile
|
||
|
|
||
|
ENV SEAFILE_VERSION=6.0.5
|
||
|
|
||
|
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
|
||
|
|
||
|
CMD ["/sbin/my_init", "--", "bash", "-l"]
|