Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions root/usr/local/sbin/install_container_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ apt-get install -y \
software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | apt-key add -

RELEASE=$(lsb_release -cs)

add-apt-repository \
"deb https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $RELEASE stable"

add-apt-repository \
"deb http://apt.kubernetes.io/ kubernetes-xenial main"
"deb https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /"

apt-get update -y
apt-get install -y docker-ce docker-compose kubelet kubeadm kubectl
Expand Down