The ImageBuildInfo interface now includes a new method: BuildOptions, which is used to configure the build process.
This method returns the image build options when building a Docker image from a Dockerfile,
and it will apply some defaults and finally call the new BuildOptionsModifier method from the FromDockerfile struct, if set.
This way it's possible to access Docker's types.ImageBuildOptions type and modify it before the build process starts.
feat: support customizing the Docker build command (#1931) @mdelapenya
Executing commands using the Executable interface
It now includes an Options method that needs to be implemented. This method will allow configuring the exec options added in this PR for the WithStartupCommand functional option.
If your code is implementing Executable, you can embed the ExecOptions struct in your own struct in order to satisfy the interface.
Please take a look at the RabbitMQ test types to see examples on how to do it.
feat: support for executing commands in a container with user, workDir and env (#1914) @mdelapenya
🔒 Security
chore(deps): bump golang.org/x/crypto to 0.17.0 in /modules (#2006) @mdelapenya
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/testcontainers/testcontainers-go/modules/postgres from 0.26.0 to 0.27.0.
Release notes
Sourced from github.com/testcontainers/testcontainers-go/modules/postgres's releases.
... (truncated)
Commits
8d0f53a
chore: use new version (v0.27.0) in modules and examplesc3a1834
chore: do not read config but instead pass the hub prefix to the prependHub m...1bac302
fix: remove docker.io from Ryuk image name (#2046)61a37cb
adds gotestsum to install tools (#2043)1c45958
Add neo4j license agreement customization options (#2036)974afd9
chore: bump Ryuk to 0.6.0 (#2040)cb51b9b
chore(deps): bump github.com/containerd/containerd from 1.7.7 to 1.7.11 (#2011)9f68760
feat: support configuring Ryuk verbose mode at config level (#2038)5faf6f4
chore: lookup exposed ports in the image from Config, not from ContainerConfi...a9f0ac8
chore(deps): bump golang.org/x/crypto to 0.17.0 in /modules (#2006)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show