Documentation
¶
Overview ¶
Package testimage gives a test that builds a ShellHub Dockerfile the build arguments the Dockerfile declares without defaults: the versions pinned in versions.env at the repository root, the same file the compose wrapper and CI pass to their builds.
Index ¶
Constants ¶
View Source
const FileName = "versions.env"
FileName is the file at the repository root that pins every build-time version.
Variables ¶
This section is empty.
Functions ¶
func BuildArgs ¶
BuildArgs reads versions.env from root and returns its KEY=VALUE lines in the form testcontainers takes as build arguments. It returns an error when the file cannot be read or a line is not KEY=VALUE with both sides filled in, so a build never runs with an empty version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.