Affected by GO-2022-0390
and 1 other vulnerabilities
GO-2022-0390: Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914: Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
package
Version:
v20.10.0-rc2+incompatible
Opens a new window with list of versions in this module.
Published: Nov 30, 2020
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.