Skip to content

Commit

Permalink
chore(deps): bump github.com/moby/buildkit from 0.11.6 to 0.12.5, git…
Browse files Browse the repository at this point in the history
…hub.com/docker/docker from 24.0.7+incompatible to 25.0.2+incompatible, and other deps (#2995)
  • Loading branch information
aaron-prindle committed Feb 10, 2024
1 parent 11e2e9f commit 081269d
Show file tree
Hide file tree
Showing 400 changed files with 6,730 additions and 10,746 deletions.
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20231213181459-b0fcec718dc6
github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb27589
github.com/containerd/cgroups v1.1.0 // indirect
github.com/docker/docker v24.0.7+incompatible
github.com/docker/docker v25.0.3+incompatible
github.com/go-git/go-billy/v5 v5.5.0
github.com/go-git/go-git/v5 v5.11.0
github.com/golang/mock v1.6.0
Expand All @@ -27,7 +27,7 @@ require (
github.com/google/slowjam v1.1.0
github.com/karrick/godirwalk v1.16.1
github.com/minio/highwayhash v1.0.2
github.com/moby/buildkit v0.11.6
github.com/moby/buildkit v0.12.5
github.com/otiai10/copy v1.14.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.9.3
Expand Down Expand Up @@ -85,7 +85,6 @@ require (
github.com/containerd/continuity v0.4.2 // indirect
github.com/containerd/fifo v1.1.0 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
github.com/containerd/typeurl v1.0.2 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
github.com/docker/cli v24.0.7+incompatible // indirect
Expand All @@ -112,7 +111,7 @@ require (
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.17.0 // indirect
github.com/klauspost/compress v1.17.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/moby/locker v1.0.1 // indirect
Expand All @@ -131,11 +130,11 @@ require (
github.com/opencontainers/selinux v1.11.0 // indirect
github.com/prometheus/client_golang v1.14.0 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/rootless-containers/rootlesskit v1.1.0 // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/tonistiigi/fsutil v0.0.0-20230105215944-fb433841cbfa // indirect
github.com/tonistiigi/fsutil v0.0.0-20230629203738-36ef4d8c0dbb // indirect
github.com/vbatts/tar-split v0.11.3 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.etcd.io/etcd/raft/v3 v3.5.6 // indirect
Expand Down Expand Up @@ -169,6 +168,7 @@ require (
github.com/containerd/ttrpc v1.2.2 // indirect
github.com/containerd/typeurl/v2 v2.1.1 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
Expand Down
325 changes: 14 additions & 311 deletions go.sum

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion pkg/commands/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,29 @@ package commands

import (
"github.com/GoogleContainerTools/kaniko/pkg/dockerfile"
"github.com/docker/docker/api/types/container"
v1 "github.com/google/go-containerregistry/pkg/v1"
"github.com/moby/buildkit/frontend/dockerfile/instructions"
)

func convertDockerHealthConfigToContainerRegistryFormat(dockerHealthcheck container.HealthConfig) v1.HealthConfig {
return v1.HealthConfig{
Test: dockerHealthcheck.Test,
Interval: dockerHealthcheck.Interval,
Timeout: dockerHealthcheck.Timeout,
StartPeriod: dockerHealthcheck.StartPeriod,
Retries: dockerHealthcheck.Retries,
}
}

type HealthCheckCommand struct {
BaseCommand
cmd *instructions.HealthCheckCommand
}

// ExecuteCommand handles command processing similar to CMD and RUN,
func (h *HealthCheckCommand) ExecuteCommand(config *v1.Config, buildArgs *dockerfile.BuildArgs) error {
check := v1.HealthConfig(*h.cmd.Health)
check := convertDockerHealthConfigToContainerRegistryFormat(*h.cmd.Health)
config.Healthcheck = &check

return nil
Expand Down
2 changes: 0 additions & 2 deletions vendor/github.com/containerd/typeurl/.gitignore

This file was deleted.

191 changes: 0 additions & 191 deletions vendor/github.com/containerd/typeurl/LICENSE

This file was deleted.

20 changes: 0 additions & 20 deletions vendor/github.com/containerd/typeurl/README.md

This file was deleted.

83 changes: 0 additions & 83 deletions vendor/github.com/containerd/typeurl/doc.go

This file was deleted.

0 comments on commit 081269d

Please sign in to comment.