Skip to content

Commit

Permalink
Upgrade postgres to 14.10 in dev container setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel authored Dec 8, 2023
1 parent 31c42c0 commit 9616cbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ lint: node_version

.PHONY: run-docker-postgres
run-docker-postgres: stop-docker-postgres
docker start odk-postgres14 || (docker run -d --name odk-postgres14 -p 5432:5432 -e POSTGRES_PASSWORD=odktest postgres:14.6 && sleep 5 && node lib/bin/create-docker-databases.js)
docker start odk-postgres14 || (docker run -d --name odk-postgres14 -p 5432:5432 -e POSTGRES_PASSWORD=odktest postgres:14.10 && sleep 5 && node lib/bin/create-docker-databases.js)

.PHONY: stop-docker-postgres
stop-docker-postgres:
Expand All @@ -105,4 +105,4 @@ check-file-headers:
.PHONY: api-docs
api-docs:
(test "$(docker images -q odk-docs)" || docker build --file odk-docs.dockerfile -t odk-docs .) && \
docker run --rm -it -v ./docs:/docs/docs/_static/central-spec -p 8000:8000 odk-docs
docker run --rm -it -v ./docs:/docs/docs/_static/central-spec -p 8000:8000 odk-docs

0 comments on commit 9616cbb

Please sign in to comment.