Skip to content

Commit

Permalink
WIP attempt to build local docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Sep 16, 2024
1 parent 2dc5c7c commit cd8c6bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ jobs:

services:
postgres:
image: pgvector/pgvector:pg${{ matrix.postgres }}
build:
context: .
dockerfile: docker/Dockerfile-postgres
env:
POSTGRES_PASSWORD: postgres
ports:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile-postgres
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:13.5
FROM pgvector/pgvector:pg13
RUN localedef -i en_GB -c -f UTF-8 -A /usr/share/locale/locale.alias en_GB.UTF-8
ENV LANG en_GB.utf8
ADD ./docker/createdb.sh /docker-entrypoint-initdb.d/

0 comments on commit cd8c6bb

Please sign in to comment.