Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 13e737a

Browse files
committed
Add missing 'apk update'
1 parent 44cc0e8 commit 13e737a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libmachine/provision/alpine.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ func (provisioner *AlpineProvisioner) Provision(swarmOptions swarm.Options, auth
144144
else
145145
sed -i '/^\\s*[^#].*main/{p;s/main/community/;}' /etc/apk/repositories;
146146
fi
147-
fi`); err != nil {
147+
fi;
148+
apk update`); err != nil {
148149
return err
149150
}
150151

0 commit comments

Comments
 (0)