Add package to a testcontainer on its setup #1075
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is not how Testcontainers and its modules work. The command API is used to specify the command that the container starts with. Even if it installs the packages, it would exit afterward since the database is not started. Build and use a custom image instead (
|
Beta Was this translation helpful? Give feedback.
This is not how Testcontainers and its modules work. The command API is used to specify the command that the container starts with. Even if it installs the packages, it would exit afterward since the database is not started. Build and use a custom image instead (
Dockerfile
).