Skip to content

Commit 9682eee

Browse files
Install Docker model plugin in setup script
Added installation steps for Docker model plugin. Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
1 parent a0ecbd9 commit 9682eee

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.devcontainer/installMoreTools.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,17 @@ sudo mv ./kind /usr/local/bin/kind
2323
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
2424
sudo chmod +x /usr/bin/yq
2525

26+
# docker model-plugin
27+
sudo install -m 0755 -d /etc/apt/keyrings
28+
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
29+
sudo chmod a+r /etc/apt/keyrings/docker.asc
30+
echo \
31+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
32+
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
33+
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
34+
sudo apt-get update
35+
sudo apt-get install -y docker-model-plugin
36+
docker model list
37+
2638
cd ..
27-
rm -rf install-more-tools
39+
rm -rf install-more-tools

0 commit comments

Comments
 (0)