From 9f97e214c330dcb3fa4b28565c0f9e0e250c5c53 Mon Sep 17 00:00:00 2001 From: Hu <517046497@qq.com> Date: Tue, 10 Jul 2018 14:09:38 +0800 Subject: [PATCH] remove community seafile at cluster --- cluster/image/Makefile | 11 ----------- cluster/image/seafile/Dockerfile | 18 ------------------ cluster/image/seafile/bootstrap.conf | 8 -------- 3 files changed, 37 deletions(-) delete mode 100644 cluster/image/seafile/Dockerfile delete mode 100644 cluster/image/seafile/bootstrap.conf diff --git a/cluster/image/Makefile b/cluster/image/Makefile index 5845e51..8167007 100644 --- a/cluster/image/Makefile +++ b/cluster/image/Makefile @@ -25,13 +25,6 @@ base: docker tag $(base_image_squashed) $(base_image) docker rmi `docker images --filter "dangling=true" -q --no-trunc` -server: - cd seafile && cp -rf ../../../templates ./ && cp -rf ../../scripts ./ && docker build -t $(server_image) . - docker-squash --tag $(server_image_squashed) $(server_image) --from-layer=$(base_image) - docker tag $(server_image_squashed) $(server_image) - docker tag $(server_image) $(latest_server_image) - docker rmi `docker images --filter "dangling=true" -q --no-trunc` - pro-base: cd pro_base && docker build -t $(pro_base_image) . docker-squash --tag $(pro_base_image_squashed) $(pro_base_image) @@ -52,10 +45,6 @@ push-pro-base: docker tag $(pro_base_image) ${host}/$(pro_base_image) docker push ${host}/$(pro_base_image) -push-server: - docker push $(server_image) - docker push $(latest_server_image) - push-pro-server: docker tag $(pro_server_image) ${host}/$(pro_server_image) docker tag $(pro_server_image) ${host}/$(latest_pro_server_image) diff --git a/cluster/image/seafile/Dockerfile b/cluster/image/seafile/Dockerfile deleted file mode 100644 index 28d2b4f..0000000 --- a/cluster/image/seafile/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM seafileltd/base:16.04 -WORKDIR /opt/seafile - -RUN mkdir -p /etc/my_init.d - -ENV SEAFILE_VERSION=6.2.5 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 -COPY bootstrap.conf /opt/bootstrap.conf - -CMD ["/sbin/my_init", "--", "/scripts/start.py"] diff --git a/cluster/image/seafile/bootstrap.conf b/cluster/image/seafile/bootstrap.conf deleted file mode 100644 index 8304039..0000000 --- a/cluster/image/seafile/bootstrap.conf +++ /dev/null @@ -1,8 +0,0 @@ -# If you edit this file, remember to run ./launcher rebuild -[server] -server.hostname = seafile.example.com -admin.email = me@example.com -admin.password = asecret - -# uncomment the one lines below to use letsencrypt SSL certificate -# server.letsencrypt = true