-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jian Zeng <[email protected]>
- Loading branch information
Showing
6 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
FROM ustcmirror/base:alpine | ||
LABEL maintainer="iBug <[email protected]>" | ||
LABEL bind_support=true | ||
RUN apk add --no-cache --update wget perl ca-certificates git python3 py3-requests && \ | ||
RUN <<EOF | ||
apk add --no-cache --update wget perl ca-certificates git python3 py3-requests | ||
mkdir -p /usr/local/lib/tunasync | ||
EOF | ||
ADD tunasync /usr/local/lib/tunasync | ||
ADD sync.sh sync.py / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
FROM alpine:edge | ||
LABEL maintainer="Yifan Gao<git AT yfgao.com>" \ | ||
org.ustcmirror.images=true | ||
RUN apk add --no-cache bash tzdata su-exec && \ | ||
RUN <<EOF | ||
apk add --no-cache bash tzdata su-exec | ||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime | ||
EOF | ||
ADD ["entry.sh", "savelog", "/usr/local/bin/"] | ||
VOLUME ["/data", "/log"] | ||
CMD ["entry.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
FROM debian:bookworm-slim | ||
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.lug.ustc.edu.cn/misc/su-exec && chmod +x /usr/local/bin/su-exec && \ | ||
echo "592f25c51d0e4c90945ece8c4fa35018d20a1091ac109c98b66eb95deef211c7 /usr/local/bin/su-exec" | sha256sum -c - && \ | ||
RUN <<EOF | ||
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.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/* | ||
EOF | ||
ADD ["entry.sh", "savelog", "/usr/local/bin/"] | ||
VOLUME ["/data", "/log"] | ||
CMD ["entry.sh"] |