![JAR search and dependency download from the Maven repository](/logo.png)
org.testcontainers.images.builder.dockerfile.traits.RunStatementTrait Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testcontainers Show documentation
Show all versions of testcontainers Show documentation
Isolated container management for Java code testing
package org.testcontainers.images.builder.dockerfile.traits;
import org.testcontainers.images.builder.dockerfile.statement.MultiArgsStatement;
import org.testcontainers.images.builder.dockerfile.statement.SingleArgumentStatement;
public interface RunStatementTrait & DockerfileBuilderTrait> {
default SELF run(String... commandParts) {
return ((SELF) this).withStatement(new MultiArgsStatement("RUN", commandParts));
}
default SELF run(String command) {
return ((SELF) this).withStatement(new SingleArgumentStatement("RUN", command));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy