Skip to content

Commit

Permalink
chore: use postgres:14-alpine for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Delberghe <open-source@orandin.fr>
  • Loading branch information
orandin authored and rclsilver committed Oct 18, 2022
1 parent 51a2a6b commit eddbf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/test-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export PG_PASSWORD="test"
export PG_PORT="5432"
export PG_DATABASENAME="test"

PG_DOCKER_ID=$(docker run -v $PWD/sql/schema.sql:/docker-entrypoint-initdb.d/v0001.sql:ro -e POSTGRES_USER=$PG_USER -e POSTGRES_PASSWORD=$PG_PASSWORD -e POSTGRES_DBNAME=$PG_DATABASENAME -d postgres:9.6-alpine)
PG_DOCKER_ID=$(docker run -v $PWD/sql/schema.sql:/docker-entrypoint-initdb.d/v0001.sql:ro -e POSTGRES_USER=$PG_USER -e POSTGRES_PASSWORD=$PG_PASSWORD -e POSTGRES_DBNAME=$PG_DATABASENAME -d postgres:14-alpine)

echo "Spawned Postgres docker: $PG_DOCKER_ID"

Expand Down

0 comments on commit eddbf19

Please sign in to comment.