mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 06:30:12 +08:00
chore: setup napcat at entrypoint
This commit is contained in:
parent
c934e2dd45
commit
3225de34e8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user