Affected by GO-2022-0390
and 3 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
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:
v17.10.0-ce-rc1+incomp...
Opens a new window with list of versions in this module.
Published: Mar 23, 2020
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.