docs: fix invocation of docker in dev guide

This commit is contained in:
Brian Waldon 2015-12-15 11:17:48 -08:00
parent bf13c3bc37
commit cb6a418226

View file

@ -74,8 +74,8 @@ docker run --name dex_postgres -d postgres
export DEX_TEST_DSN=postgres://postgres@postgres/postgres?sslmode=disable export DEX_TEST_DSN=postgres://postgres@postgres/postgres?sslmode=disable
# Run the test container, linking it to the Postgres container. # Run the test container, linking it to the Postgres container.
DOCKER_LINKS=dex_postgres:postgres DOCKER_ENV=DEX_TEST_DSN ./go-docker ./test-functional docker DOCKER_LINKS=dex_postgres:postgres DOCKER_ENV=DEX_TEST_DSN ./go-docker ./test-functional
# Remove the container after the tests are run. # Remove the container after the tests are run.
rm -f dex_postgres docker rm -f dex_postgres
``` ```