mirror of
https://github.com/YuCat-OVO/BaiduNetdisk-Docker
synced 2025-05-10 20:10:04 +08:00
Fix trusted.gpg
This commit is contained in:
parent
e0c2748fb1
commit
1a3e21fcf2
12
Dockerfile
12
Dockerfile
@ -22,16 +22,15 @@ RUN \
|
|||||||
curl -o \
|
curl -o \
|
||||||
/kclient/public/icon.png \
|
/kclient/public/icon.png \
|
||||||
https://raw.githubusercontent.com/YuCat-OVO/BaiduNetdisk-Docker/master/docs/baidunetdisk.png && \
|
https://raw.githubusercontent.com/YuCat-OVO/BaiduNetdisk-Docker/master/docs/baidunetdisk.png && \
|
||||||
|
echo "**** fix trusted.gpg ****" && \
|
||||||
|
mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/docker.gpg && \
|
||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
apt-get dist-upgrade -y && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
wget \
|
wget \
|
||||||
fonts-wqy-microhei \
|
fonts-wqy-microhei \
|
||||||
fonts-wqy-zenhei \
|
fonts-wqy-zenhei \
|
||||||
libgtk-3-0 \
|
|
||||||
libnotify4 \
|
|
||||||
libatspi2.0-0 \
|
|
||||||
libsecret-1-0 \
|
|
||||||
desktop-file-utils && \
|
desktop-file-utils && \
|
||||||
echo "**** install BaiduNetdisk ****" && \
|
echo "**** install BaiduNetdisk ****" && \
|
||||||
if [ -z ${BAIDUNETDISK_VERSION+x} ]; then \
|
if [ -z ${BAIDUNETDISK_VERSION+x} ]; then \
|
||||||
@ -43,6 +42,11 @@ RUN \
|
|||||||
curl -o \
|
curl -o \
|
||||||
/tmp/baidunetdisk.deb -L \
|
/tmp/baidunetdisk.deb -L \
|
||||||
"$BAIDUNETDISK_URL" && \
|
"$BAIDUNETDISK_URL" && \
|
||||||
|
for i in \
|
||||||
|
$(dpkg -I /tmp/baidunetdisk.deb | grep "Depends" | cut -c11- | awk -F ', ' '{ for(i=1; i<=NF; i++) print $i }'); \
|
||||||
|
do \
|
||||||
|
apt-get install -y --no-install-recommends ${i}; \
|
||||||
|
done && \
|
||||||
dpkg -i /tmp/baidunetdisk.deb && \
|
dpkg -i /tmp/baidunetdisk.deb && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user