palantir/docker-compose-rule

Pull images on startup

jonesr91 opened this issue · 2 comments

I can see from the documentation that I am able to do something like the following:

public class DockerCompositionTest {
    @ClassRule
    public static DockerComposition composition = DockerComposition.of("src/test/resources/docker-compose.yml")
        .pullOnStartup(true)
        .build();
}

But I can also see that DockerComposition is deprecated.

Is this available (or any plans for this to become available) via the DockerComposeRule object?

Thanks,
Ryan

It looks like the Builder doesn't expose the pullOnStartup property though. Am I missing something?