mirror of
https://github.com/containers/podman.git
synced 2025-12-08 14:48:48 +08:00
Bump github.com/containers/buildah from 1.16.1 to 1.16.2
Bumps [github.com/containers/buildah](https://github.com/containers/buildah) from 1.16.1 to 1.16.2. - [Release notes](https://github.com/containers/buildah/releases) - [Changelog](https://github.com/containers/buildah/blob/master/CHANGELOG.md) - [Commits](https://github.com/containers/buildah/compare/v1.16.1...v1.16.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
committed by
Daniel J Walsh
parent
5cedd830f7
commit
e1270de308
3
vendor/github.com/containers/buildah/CHANGELOG.md
generated
vendored
3
vendor/github.com/containers/buildah/CHANGELOG.md
generated
vendored
@@ -2,6 +2,9 @@
|
||||
|
||||
# Changelog
|
||||
|
||||
## v1.16.2 (2020-09-21)
|
||||
Add(): fix handling of relative paths with no ContextDir
|
||||
|
||||
## v1.16.1 (2020-09-10)
|
||||
copier.Get(): hard link targets shouldn't be relative paths
|
||||
|
||||
|
||||
14
vendor/github.com/containers/buildah/add.go
generated
vendored
14
vendor/github.com/containers/buildah/add.go
generated
vendored
@@ -151,18 +151,26 @@ func (b *Builder) Add(destination string, extract bool, options AddAndCopyOption
|
||||
}()
|
||||
|
||||
contextDir := options.ContextDir
|
||||
if contextDir == "" {
|
||||
currentDir := options.ContextDir
|
||||
if options.ContextDir == "" {
|
||||
contextDir = string(os.PathSeparator)
|
||||
currentDir, err = os.Getwd()
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "error determining current working directory")
|
||||
}
|
||||
}
|
||||
|
||||
// Figure out what sorts of sources we have.
|
||||
var localSources, remoteSources []string
|
||||
for _, src := range sources {
|
||||
for i, src := range sources {
|
||||
if sourceIsRemote(src) {
|
||||
remoteSources = append(remoteSources, src)
|
||||
continue
|
||||
}
|
||||
localSources = append(localSources, src)
|
||||
if !filepath.IsAbs(src) && options.ContextDir == "" {
|
||||
sources[i] = filepath.Join(currentDir, src)
|
||||
}
|
||||
localSources = append(localSources, sources[i])
|
||||
}
|
||||
|
||||
// Check how many items our local source specs matched. Each spec
|
||||
|
||||
2
vendor/github.com/containers/buildah/buildah.go
generated
vendored
2
vendor/github.com/containers/buildah/buildah.go
generated
vendored
@@ -28,7 +28,7 @@ const (
|
||||
Package = "buildah"
|
||||
// Version for the Package. Bump version in contrib/rpm/buildah.spec
|
||||
// too.
|
||||
Version = "1.16.1"
|
||||
Version = "1.16.2"
|
||||
// The value we use to identify what type of information, currently a
|
||||
// serialized Builder structure, we are using as per-container state.
|
||||
// This should only be changed when we make incompatible changes to
|
||||
|
||||
2
vendor/github.com/containers/buildah/changelog.txt
generated
vendored
2
vendor/github.com/containers/buildah/changelog.txt
generated
vendored
@@ -1,3 +1,5 @@
|
||||
- Changelog for v1.16.2 (2020-09-21)
|
||||
* Add(): fix handling of relative paths with no ContextDir
|
||||
|
||||
- Changelog for v1.16.1 (2020-09-10)
|
||||
* copier.Get(): hard link targets shouldn't be relative paths
|
||||
|
||||
Reference in New Issue
Block a user