From 3225de34e8856e1851f47492303aefa76e6e5038 Mon Sep 17 00:00:00 2001 From: WWWw <109729945+initialencounter@users.noreply.github.com> Date: Mon, 13 May 2024 11:17:24 +0800 Subject: [PATCH] chore: setup napcat at entrypoint --- Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 896d244..1074028 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,13 +7,7 @@ COPY NapCat.linux.arm64.zip NapCat.linux.x64.zip entrypoint.sh . # 安装Linux QQ RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \ curl -o linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.7_240428_${arch}_01.deb && \ - dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb - -# 安装 napcat -RUN rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/) && \ - unzip NapCat.linux.${rarch}.zip -d . && \ - mv NapCat.linux.${rarch} napcat && \ - chmod +x napcat/napcat.sh && \ + dpkg -i --force-depends linuxqq.deb && rm linuxqq.deb && \ chmod +x entrypoint.sh VOLUME /usr/src/app/napcat/config