Skip to content

Commit

Permalink
base: Restore CMD to bare filename
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Jul 2, 2024
1 parent 74b4835 commit bdde295
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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 ["/usr/local/bin/entry.sh"]
CMD ["entry.sh"]
2 changes: 1 addition & 1 deletion base/Dockerfile.alpine-edge
Original file line number Diff line number Diff line change
Expand Up @@ -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 ["/usr/local/bin/entry.sh"]
CMD ["entry.sh"]
4 changes: 2 additions & 2 deletions base/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ LABEL maintainer="Jian Zeng <anonymousknight96 AT gmail.com>" \
org.ustcmirror.images=true
RUN echo 'Asia/Shanghai' > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata && \
apt-get update && apt-get install -y wget && \
wget -O /usr/local/bin/su-exec https://ftp.ustclug.org/misc/su-exec && chmod +x /usr/local/bin/su-exec && \
wget -O /usr/local/bin/su-exec https://ftp.lug.ustc.edu.cn/misc/su-exec && chmod +x /usr/local/bin/su-exec && \
echo "592f25c51d0e4c90945ece8c4fa35018d20a1091ac109c98b66eb95deef211c7 /usr/local/bin/su-exec" | sha256sum -c - && \
apt-get purge -y --auto-remove wget && rm -rf /var/lib/apt/lists/*
ADD ["entry.sh", "savelog", "/usr/local/bin/"]
VOLUME ["/data", "/log"]
CMD ["/usr/local/bin/entry.sh"]
CMD ["entry.sh"]

0 comments on commit bdde295

Please sign in to comment.