mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Fix missing docker binary when artifact contains the harbor binaries.
Signed-off-by: 24sama <jacksama@foxmail.com>
This commit is contained in:
parent
629397333f
commit
e5106758fb
|
|
@ -92,8 +92,10 @@ func RegistryBinariesDownload(manifest *common.ArtifactManifest, path, arch stri
|
|||
if m.Components.DockerCompose.Version != "" {
|
||||
compose := files.NewKubeBinary("compose", arch, kubekeyapiv1alpha2.DefaultDockerComposeVersion, path, manifest.Arg.DownloadCommand)
|
||||
// TODO: Harbor only supports amd64, so there is no need to consider other architectures at present. docker-compose is required only if harbor is installed.
|
||||
containerManager := files.NewKubeBinary("docker", arch, kubekeyapiv1alpha2.DefaultDockerVersion, path, manifest.Arg.DownloadCommand)
|
||||
if arch == "amd64" {
|
||||
binaries = append(binaries, compose)
|
||||
binaries = append(binaries, containerManager)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue