docker(install): simplify provision
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -256,10 +256,7 @@ cpuType: host
|
|||||||
provision:
|
provision:
|
||||||
- mode: system
|
- mode: system
|
||||||
script: |
|
script: |
|
||||||
mkdir -p /tmp/docker-bins
|
wget -qO- "https://download.docker.com/linux/static/{{dockerBinChannel}}/{{dockerBinArch}}/docker-{{dockerBinVersion}}.tgz" | tar xvz --strip 1 -C /usr/bin/
|
||||||
cd /tmp/docker-bins
|
|
||||||
wget -qO- "https://download.docker.com/linux/static/{{dockerBinChannel}}/{{dockerBinArch}}/docker-{{dockerBinVersion}}.tgz" | tar xvz --strip 1
|
|
||||||
mv -f /tmp/docker-bins/* /usr/bin/
|
|
||||||
|
|
||||||
# Modify ~/.ssh/config automatically to include a SSH config for the virtual machine.
|
# Modify ~/.ssh/config automatically to include a SSH config for the virtual machine.
|
||||||
# SSH config will still be generated in ~/.colima/ssh_config regardless.
|
# SSH config will still be generated in ~/.colima/ssh_config regardless.
|
||||||
|
|||||||
Reference in New Issue
Block a user