This commit is contained in:
Luk 2024-12-21 18:03:10 +08:00
parent edb1f40cf1
commit 12997de734
2 changed files with 3 additions and 2 deletions

View File

@ -2,10 +2,11 @@ FROM debian:11.5
LABEL org.opencontainers.image.authors="luk"
RUN apt update && apt install curl -y
RUN curl https://git.tic.cc/npm/sysconfig/raw/branch/main/debian-setup.sh > ~/debian-setup.sh && echo -e "l\n\n\n\n\n" | bash ~/debian-setup.sh
RUN curl -s https://git.tic.cc/npm/sysconfig/raw/branch/main/debian-setup.sh | bash
CMD bash
# mv $(basename "$0") Dockerfile
# docker build -t debian-faronear .
# docker tag debian-faronear anolaxy/debian-faronear:11.5-20221205
# docker login

View File

@ -2,7 +2,7 @@
echo "Usage: this.sh [NewUser]"
echo "Example: this.sh alice"
echo "curl https://git.faronear.org/npm/sysconfig/raw/branch/main/debian-setup.sh -o ~/debian-setup.sh && bash ~/debian-setup.sh"
echo "curl -s https://git.faronear.org/npm/sysconfig/raw/branch/main/debian-setup.sh | bash"
if [ "$1" ]
then