mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
78326e41f6
* update baseimages to 0.10.2 * update baseimage to 0.11 * del the files by the local test procuced. * update windows install instructions closes #123 * Pass arguments to seaf-gc This will allow users to run seaf-gc with parameters like ``-D`` or ``-r`` * Apply pass argument patch to all gc scripts * modified the 16.04 to 18.04 * updata comment
18 lines
471 B
Docker
18 lines
471 B
Docker
FROM seafileltd/base:18.04
|
|
WORKDIR /opt/seafile
|
|
|
|
RUN mkdir -p /etc/my_init.d
|
|
|
|
ENV SEAFILE_VERSION=6.3.3 SEAFILE_SERVER=seafile-server
|
|
|
|
RUN mkdir -p /opt/seafile/ && \
|
|
curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \
|
|
| tar xzf - -C /opt/seafile/
|
|
|
|
ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh
|
|
|
|
COPY scripts /scripts
|
|
COPY templates /templates
|
|
|
|
CMD ["/sbin/my_init", "--", "/scripts/start.py"]
|