aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-30 12:17:39 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-30 12:17:39 +0200
commit934bc9a2857865b726dab0f63a9e7a2f6048ba50 (patch)
tree2faa023c894b68ae8e9c264ea5962ce5d3083d3c
parentdocker: fix warnings in run_cron.sh (diff)
downloadcgitize-4.0.11.tar.gz
cgitize-4.0.11.zip
docker: rename scriptsv4.0.11
Diffstat (limited to '')
-rw-r--r--docker/Dockerfile8
-rwxr-xr-xdocker/cgitize.sh (renamed from docker/run.sh)0
-rwxr-xr-xdocker/in_cron.sh (renamed from docker/run_cron.sh)0
3 files changed, 4 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 15e4962..18bffde 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -20,13 +20,13 @@ ARG ssh_sock_dir=/
ARG ssh_sock_path="$ssh_sock_dir/ssh-agent.sock"
ENV SSH_AUTH_SOCK "$ssh_sock_path"
+COPY ["docker/cgitize.sh", "/"]
COPY ["docker/get_output_dir.py", "/"]
-COPY ["docker/run.sh", "/"]
-COPY ["docker/run_cron.sh", "/"]
+COPY ["docker/in_cron.sh", "/"]
COPY ["cgitize/", "/usr/src/cgitize/"]
ENV SCHEDULE_ON_START=1
-ENTRYPOINT ["/sbin/tini", "--", "/run_cron.sh"]
+ENTRYPOINT ["/sbin/tini", "--", "/in_cron.sh"]
WORKDIR /usr/src
-CMD ["/run.sh"]
+CMD ["/cgitize.sh"]
diff --git a/docker/run.sh b/docker/cgitize.sh
index 92fe43c..92fe43c 100755
--- a/docker/run.sh
+++ b/docker/cgitize.sh
diff --git a/docker/run_cron.sh b/docker/in_cron.sh
index d23ab70..d23ab70 100755
--- a/docker/run_cron.sh
+++ b/docker/in_cron.sh