Skip to content

Commit 3281ef2

Browse files
committed
docker(install): simplify provision
Signed-off-by: CrazyMax <[email protected]>
1 parent 03b93c3 commit 3281ef2

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/docker/assets.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,7 @@ cpuType: host
256256
provision:
257257
- mode: system
258258
script: |
259-
mkdir -p /tmp/docker-bins
260-
cd /tmp/docker-bins
261-
wget -qO- "https://download.docker.com/linux/static/{{dockerBinChannel}}/{{dockerBinArch}}/docker-{{dockerBinVersion}}.tgz" | tar xvz --strip 1
262-
mv -f /tmp/docker-bins/* /usr/bin/
259+
wget -qO- "https://download.docker.com/linux/static/{{dockerBinChannel}}/{{dockerBinArch}}/docker-{{dockerBinVersion}}.tgz" | tar xvz --strip 1 -C /usr/bin/
263260
264261
# Modify ~/.ssh/config automatically to include a SSH config for the virtual machine.
265262
# SSH config will still be generated in ~/.colima/ssh_config regardless.

0 commit comments

Comments
 (0)