Skip to content

Commit

Permalink
Change docker command (#3608)
Browse files Browse the repository at this point in the history
Closes #3571
This also includes changing default tag version (to v19.2.11)

Co-authored-by: Junho, Kim <giger85.juno@navercorp.com>
Co-authored-by: Sergei Egorov <bsideup@gmail.com>
  • Loading branch information
3 people authored Feb 6, 2021
1 parent 625ddc3 commit 140fd94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public class CockroachContainer extends JdbcDatabaseContainer<CockroachContainer> {

private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse("cockroachdb/cockroach");
private static final String DEFAULT_TAG = "v19.1.1";
private static final String DEFAULT_TAG = "v19.2.11";

public static final String NAME = "cockroach";

Expand Down Expand Up @@ -53,7 +53,7 @@ public CockroachContainer(final DockerImageName dockerImageName) {
.forStatusCode(200)
.withStartupTimeout(Duration.ofMinutes(1))
);
withCommand("start --insecure");
withCommand("start-single-node --insecure");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import org.testcontainers.utility.DockerImageName;

public interface CockroachDBTestImages {
DockerImageName COCKROACHDB_IMAGE = DockerImageName.parse("cockroachdb/cockroach:v19.1.1");
DockerImageName COCKROACHDB_IMAGE = DockerImageName.parse("cockroachdb/cockroach:v19.2.11");
}

0 comments on commit 140fd94

Please sign in to comment.