Affected by GO-2022-0390
and 2 other vulnerabilities
GO-2022-0390: Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-3304: Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3305: Moby Race Condition vulnerability in github.com/moby/moby
package
Version:
v20.10.11+incompatible
Opens a new window with list of versions in this module.
Published: Nov 18, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 7
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.