From 74b4835e10db5a46078c7079ad573e9da6d40858 Mon Sep 17 00:00:00 2001 From: iBug Date: Tue, 2 Jul 2024 17:42:30 +0800 Subject: [PATCH] base: Fix path to entry.sh --- base/Dockerfile.alpine | 2 +- base/Dockerfile.alpine-edge | 2 +- base/Dockerfile.debian | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/Dockerfile.alpine b/base/Dockerfile.alpine index 16ffc73..7c314fc 100644 --- a/base/Dockerfile.alpine +++ b/base/Dockerfile.alpine @@ -6,4 +6,4 @@ RUN apk add --no-cache bash tzdata su-exec && \ ADD ["entry.sh", "savelog", "/usr/local/bin/"] ADD ["pip.conf", "/etc/"] VOLUME ["/data", "/log"] -CMD ["/entry.sh"] +CMD ["/usr/local/bin/entry.sh"] diff --git a/base/Dockerfile.alpine-edge b/base/Dockerfile.alpine-edge index f9c331c..b342cf0 100644 --- a/base/Dockerfile.alpine-edge +++ b/base/Dockerfile.alpine-edge @@ -5,4 +5,4 @@ RUN apk add --no-cache bash tzdata su-exec && \ ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ADD ["entry.sh", "savelog", "/usr/local/bin/"] VOLUME ["/data", "/log"] -CMD ["/entry.sh"] +CMD ["/usr/local/bin/entry.sh"] diff --git a/base/Dockerfile.debian b/base/Dockerfile.debian index 2411034..9956bad 100644 --- a/base/Dockerfile.debian +++ b/base/Dockerfile.debian @@ -8,4 +8,4 @@ RUN echo 'Asia/Shanghai' > /etc/timezone && dpkg-reconfigure -f noninteractive t apt-get purge -y --auto-remove wget && rm -rf /var/lib/apt/lists/* ADD ["entry.sh", "savelog", "/usr/local/bin/"] VOLUME ["/data", "/log"] -CMD ["/entry.sh"] +CMD ["/usr/local/bin/entry.sh"]