From 90bd24936313ab2e6f270382fd88625487bb3f93 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 Jan 2024 04:25:52 +0000 Subject: [PATCH] 4 --- Makefile | 2 +- install-docker.sh | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 9a06ece..a1badc2 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ install-docker: install-gns3-deps: apt update - apt install -y build-essential jq + apt install -y build-essential jq rsync net-tools lsb-release apt install -y bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu-system qemu-kvm bridge-utils libvirt-daemon-system apt install -y python-dev-is-python3 libelf-dev libpcap-dev python3-pyqt5 xterm cmake apt install -y python3-pyqt5.QtSvg python3-pyqt5.qtwebsockets diff --git a/install-docker.sh b/install-docker.sh index 9acc1d9..8780f26 100755 --- a/install-docker.sh +++ b/install-docker.sh @@ -11,14 +11,10 @@ apt install -y \ DOCKER_COMPOSE_VERSION=$( curl -s 'https://api.github.com/repos/docker/compose/releases' |jq -r .[0].tag_name) -curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - +mkdir -p /usr/local/share/keyrings +curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor | dd of=/usr/local/share/keyrings/docker.gpg -true | apt-key fingerprint 0EBFCD88 - -true | add-apt-repository \ - "deb [arch=amd64] https://download.docker.com/linux/debian \ - $(lsb_release -cs) \ - stable" +echo "deb [signed-by=/usr/local/share/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docekr.list apt update