Skip to content

Commit

Permalink
Explicitly accept MSSQL Server container license during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
yhao3 committed Feb 6, 2024
1 parent 2028c14 commit 323dbe1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public class MsSqlTestContainer implements SqlTestContainer {
public void afterPropertiesSet() {
if (null == mSSQLServerContainer) {
mSSQLServerContainer = new MSSQLServerContainer<>("<%- dockerContainers.mssql %>")
.acceptLicense()
.withTmpFs(Collections.singletonMap("/testtmpfs", "rw"))
.withLogConsumer(new Slf4jLogConsumer(log))
.withReuse(true);
Expand Down

0 comments on commit 323dbe1

Please sign in to comment.