mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-26 00:52:46 +00:00
Some checks failed
docker-images / multi (., tunasync-scripts, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (., tunasync-scripts, ubuntu-latest) (push) Has been cancelled
docker-images / multi (ftpsync, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (ftpsync, ubuntu-latest) (push) Has been cancelled
docker-images / multi (nix-channels, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (nix-channels, ubuntu-latest) (push) Has been cancelled
docker-images / multi (pub-mirror, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (pub-mirror, ubuntu-latest) (push) Has been cancelled
docker-images / multi (rubygems-mirror, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (rubygems-mirror, ubuntu-latest) (push) Has been cancelled
docker-images / multi (rustup-mirror, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (rustup-mirror, ubuntu-latest) (push) Has been cancelled
docker-images / multi (shadowmire, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (shadowmire, ubuntu-latest) (push) Has been cancelled
docker-images / multi (tsumugu, ubuntu-24.04-arm) (push) Has been cancelled
docker-images / multi (tsumugu, ubuntu-latest) (push) Has been cancelled
docker-images / merge (push) Has been cancelled
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
21 lines
855 B
Docker
21 lines
855 B
Docker
FROM debian:trixie
|
|
LABEL maintainer="Wang Ruikang <dramforever@live.com>"
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y python3-dev python3-pip python3-pyquery python3-requests curl
|
|
RUN if [ "$(uname -m)" != "x86_64" -a "$(uname -m)" != "i386" ]; then \
|
|
apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev ;\
|
|
fi
|
|
RUN pip3 install minio==5.0.10 --break-system-packages
|
|
# Install Nix. To simplify management we only copy binaries and create
|
|
# symlinks, and do no further configuration
|
|
RUN mkdir -p /tmp/nix.unpack && \
|
|
curl -L https://mirrors.tuna.tsinghua.edu.cn/nix/nix-2.3.2/nix-2.3.2-$(arch)-linux.tar.xz | tar -xpJ -C /tmp/nix.unpack && \
|
|
mkdir /nix && \
|
|
cp -dpr /tmp/nix.unpack/*/store /nix/store && \
|
|
ln -s /nix/store/*-nix-*/bin/* /usr/local/bin && \
|
|
rm -rf /tmp/nix.unpack
|
|
|
|
ENV HOME=/tmp
|
|
CMD ["/bin/bash"]
|