You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Co-authored-by: Alex Ausch <alex.ausch@going.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: mdelapenya <mdelapenya@gmail.com>
// ImageBuildInfo defines what is needed to build an image
77
76
typeImageBuildInfointerface {
78
-
BuildOptions() (build.ImageBuildOptions, error) // converts the ImageBuildInfo to a build.ImageBuildOptions
79
-
GetContext() (io.Reader, error) // the path to the build context
80
-
GetDockerfile() string// the relative path to the Dockerfile, including the file itself
81
-
GetRepo() string// get repo label for image
82
-
GetTag() string// get tag label for image
83
-
BuildLogWriter() io.Writer// for output of build log, use io.Discard to disable the output
84
-
ShouldBuildImage() bool// return true if the image needs to be built
85
-
GetBuildArgs() map[string]*string// return the environment args used to build the Dockerfile
86
-
GetAuthConfigs() map[string]registry.AuthConfig// Deprecated. Testcontainers will detect registry credentials automatically. Return the auth configs to be able to pull from an authenticated docker registry
77
+
BuildOptions() (client.ImageBuildOptions, error) // converts the ImageBuildInfo to a build.ImageBuildOptions
78
+
GetContext() (io.Reader, error) // the path to the build context
79
+
GetDockerfile() string// the relative path to the Dockerfile, including the file itself
80
+
GetRepo() string// get repo label for image
81
+
GetTag() string// get tag label for image
82
+
BuildLogWriter() io.Writer// for output of build log, use io.Discard to disable the output
83
+
ShouldBuildImage() bool// return true if the image needs to be built
84
+
GetBuildArgs() map[string]*string// return the environment args used to build the Dockerfile
85
+
GetAuthConfigs() map[string]registry.AuthConfig// Deprecated. Testcontainers will detect registry credentials automatically. Return the auth configs to be able to pull from an authenticated docker registry
87
86
}
88
87
89
88
// FromDockerfile represents the parameters needed to build an image from a Dockerfile
@@ -105,7 +104,7 @@ type FromDockerfile struct {
105
104
// BuildOptionsModifier Modifier for the build options before image build. Use it for
106
105
// advanced configurations while building the image. Please consider that the modifier
107
106
// is called after the default build options are set.
0 commit comments