This is the Docker image used to run the CockroachDB acceptance tests, which include verification that simple clients in various languages can connect to and interact with CockroachDB using the Postgres wire protocol -- thus it includes the tools required to run php, node, java, etc.
Docker Hub automatically builds new images from git tags, using the git tag as the Docker tag. By convention, tags are of the form YYYYMMDD-HHMM.
Iterating on this image locally requires a local Docker registry.
- Run
docker run -d -p 5000:5000 --restart=always --name registry registry:2
- In this repo, run
docker build -t cockroachdb/postgres-test:foo .
anddocker push cockroachdb/postgres-test:foo
- In
cockroach/pkg/acceptance/util_docker.go
, edit the constantpostgresTestImage
to point tocockroachdb/postgres-test:foo
instead ofdocker.io/cockroachdb/cockroach:$DATE
.