Search in sources :

Example 1 with DockerfileBuilder

use of org.opentosca.toscana.plugins.kubernetes.docker.dockerfile.builder.DockerfileBuilder in project TOSCAna by StuPro-TOSCAna.

the class BaseDockerfileTest method setUp.

@Before
public void setUp() {
    inputDir = new File(tmpdir, INPUT_DIR_NAME);
    workDir = new File(tmpdir, WORKING_DIR_NAME);
    dockerWorkdir = new File(workDir, WORKING_DIR_SUBFOLDER_NAME);
    logger.info("Initialing Environment");
    inputDir.mkdirs();
    workDir.mkdirs();
    access = new PluginFileAccess(inputDir, workDir, logMock());
    builder = new DockerfileBuilder("library/ubuntu:latest", WORKING_DIR_SUBFOLDER_NAME, access);
}
Also used : PluginFileAccess(org.opentosca.toscana.core.plugin.PluginFileAccess) DockerfileBuilder(org.opentosca.toscana.plugins.kubernetes.docker.dockerfile.builder.DockerfileBuilder) File(java.io.File) Before(org.junit.Before)

Aggregations

File (java.io.File)1 Before (org.junit.Before)1 PluginFileAccess (org.opentosca.toscana.core.plugin.PluginFileAccess)1 DockerfileBuilder (org.opentosca.toscana.plugins.kubernetes.docker.dockerfile.builder.DockerfileBuilder)1