From 4464bf7893161684a010b6693fda20d9c674642e Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 23 May 2016 12:43:26 +0100 Subject: [PATCH] move init scripts to init dir --- Dockerfile | 8 ++++---- .../00_make_sharelatex_data_dirs.sh | 0 .../00_regen_sharelatex_secrets.sh | 0 .../00_set_docker_host_ipaddress.sh | 0 99_migrate.sh => init_scripts/99_migrate.sh | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename 00_make_sharelatex_data_dirs.sh => init_scripts/00_make_sharelatex_data_dirs.sh (100%) rename 00_regen_sharelatex_secrets.sh => init_scripts/00_regen_sharelatex_secrets.sh (100%) rename 00_set_docker_host_ipaddress.sh => init_scripts/00_set_docker_host_ipaddress.sh (100%) rename 99_migrate.sh => init_scripts/99_migrate.sh (100%) diff --git a/Dockerfile b/Dockerfile index 2f9766efaa..ca42eb7fc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,10 +95,10 @@ RUN apt-get install -y unzip RUN apt-get install -y imagemagick optipng # phusion/baseimage init script -ADD ${baseDir}/00_regen_sharelatex_secrets.sh /etc/my_init.d/00_regen_sharelatex_secrets.sh -ADD ${baseDir}/00_make_sharelatex_data_dirs.sh /etc/my_init.d/00_make_sharelatex_data_dirs.sh -ADD ${baseDir}/00_set_docker_host_ipaddress.sh /etc/my_init.d/00_set_docker_host_ipaddress.sh -ADD ${baseDir}/99_migrate.sh /etc/my_init.d/99_migrate.sh +ADD ${baseDir}/init_scripts/00_regen_sharelatex_secrets.sh /etc/my_init.d/00_regen_sharelatex_secrets.sh +ADD ${baseDir}/init_scripts/00_make_sharelatex_data_dirs.sh /etc/my_init.d/00_make_sharelatex_data_dirs.sh +ADD ${baseDir}/init_scripts/00_set_docker_host_ipaddress.sh /etc/my_init.d/00_set_docker_host_ipaddress.sh +ADD ${baseDir}/init_scripts/99_migrate.sh /etc/my_init.d/99_migrate.sh # Install ShareLaTeX settings file RUN mkdir /etc/sharelatex diff --git a/00_make_sharelatex_data_dirs.sh b/init_scripts/00_make_sharelatex_data_dirs.sh similarity index 100% rename from 00_make_sharelatex_data_dirs.sh rename to init_scripts/00_make_sharelatex_data_dirs.sh diff --git a/00_regen_sharelatex_secrets.sh b/init_scripts/00_regen_sharelatex_secrets.sh similarity index 100% rename from 00_regen_sharelatex_secrets.sh rename to init_scripts/00_regen_sharelatex_secrets.sh diff --git a/00_set_docker_host_ipaddress.sh b/init_scripts/00_set_docker_host_ipaddress.sh similarity index 100% rename from 00_set_docker_host_ipaddress.sh rename to init_scripts/00_set_docker_host_ipaddress.sh diff --git a/99_migrate.sh b/init_scripts/99_migrate.sh similarity index 100% rename from 99_migrate.sh rename to init_scripts/99_migrate.sh