File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 2121 image :
2222 architecture : amd64
2323 imageId : ami-0da424eb883458071
24- preInstall :
25- - name : " Add Docker repository and key"
26- run : |
27- # Create the directory for apt keyrings with appropriate permissions
28- sudo install -m 0755 -d /etc/apt/keyrings
29-
30- # Download the Docker GPG key and store it
31- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
32-
33- # Set the GPG key file to be readable by all users
34- sudo chmod a+r /etc/apt/keyrings/docker.gpg
35-
36- # Add the Docker repository with the appropriate architecture and signed keyring
37- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
38-
39- # Update the package index
40- sudo apt-get update
41- containerRuntime :
42- install : true
43- name : containerd
24+ # containerRuntime:
25+ # install: true
26+ # name: containerd
4427 kubernetes :
4528 install : true
4629 installer : kubeadm
You can’t perform that action at this time.
0 commit comments