Skip to content

Instantly share code, notes, and snippets.

@vgallet
Last active December 29, 2018 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vgallet/640514a92f33bf1ead299bfc8d52a5fb to your computer and use it in GitHub Desktop.
Save vgallet/640514a92f33bf1ead299bfc8d52a5fb to your computer and use it in GitHub Desktop.
@ClassRule
public static GenericContainer mysql = new GenericContainer(
new ImageFromDockerfile("mysql-petclinic")
.withDockerfileFromBuilder(dockerfileBuilder -> {
dockerfileBuilder.from("mysql:5.7.8")
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment