Affected by GO-2024-3304
and 4 other vulnerabilities
GO-2024-3304: Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3305: Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3311: NULL Pointer Dereference on moby image history in github.com/moby/moby
GO-2026-4883: Moby has an Off-by-one error in its plugin privilege validation in github.com/docker/docker
GO-2026-4887: Moby has AuthZ plugin bypass when provided oversized request bodies in github.com/docker/docker
package
Version:
v25.0.1+incompatible
Opens a new window with list of versions in this module.
Published: Jan 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WithBinaryFiles adds the specified files in the build context, content is binary
WithDockerfile adds the specified content as Dockerfile in the build context
WithFile adds the specified file (with content) in the build context
WithFiles adds the specified files in the build context, content is a string
type Fake struct {
Dir string
}
Fake creates directories that can be used as a build context
New creates a fake build context
Add a file at a path, creating directories where necessary
AsTarReader returns a ReadCloser with the contents of Dir as a tar archive.
Close deletes the context
Source Files
¶
Click to show internal directories.
Click to hide internal directories.