File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ packages:
2323 - software-properties-common
2424
2525runcmd :
26- - apt-get update -y && apt-get install software-properties-common -y && apt-get update -y
27- - curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
28- - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
26+ - apt-get update -y
27+ - install -m 0755 -d /etc/apt/keyrings
28+ - curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.gpg
29+ - chmod a+r /etc/apt/keyrings/docker.gpg
30+ - echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(. /etc/os-release && echo $VERSION_CODENAME) stable" > /etc/apt/sources.list.d/docker.list
2931 - apt-get update -y && apt-get install docker-ce docker-ce-cli docker-compose-plugin -y
3032 - wget -O /home/linux/docker-compose.yml https://github.com/fails-components/compositions/raw/master/avsrouter/docker-compose.yml
3133 - cd /home/linux/ && docker compose pull && docker compose up -d
You can’t perform that action at this time.
0 commit comments