Skip to content

Commit

Permalink
ad lc_all
Browse files Browse the repository at this point in the history
  • Loading branch information
keithharvey committed Oct 4, 2023
1 parent 631a1c2 commit 35bfc1c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion PGVector/15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,13 @@ RUN set -xe; \
rm -rf /var/lib/apt/lists/*;



ENV PATH="/venv/bin:${PATH}" \
# the LC were necessary because otherwise I got this after adding the line above: https://stackoverflow.com/questions/41956994/initdb-bin-invalid-locale-settings-check-lang-and-lc-environment-variables
LC_ALL="en_US.UTF-8" \
LC_CTYPE="en_US.UTF-8"

# Change the uid of postgres to 26
RUN usermod -u 26 postgres
USER 26

ENV PATH="/venv/bin:${PATH}"

0 comments on commit 35bfc1c

Please sign in to comment.