File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM --platform=linux/amd64 mcr.microsoft.com/mirror/docker/library/ubuntu:20.04
22ARG POSTGRES_INSTALL_ARG=
3- ARG PG_VERSION
3+ ARG PG_VERSION=16
4+
5+ # declare installed PG version
6+ # ENV PG_VERSION=16
47
58RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
69 && apt-get install -qy \
@@ -29,6 +32,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
2932 postgresql-16 \
3033 postgresql-server-dev-16 \
3134 libpq-dev \
35+ libicu-dev \
36+ libkrb5-dev \
3237 postgresql-16-cron \
3338 postgresql-16-pgvector \
3439 postgresql-16-postgis-3 \
@@ -49,9 +54,11 @@ RUN /tmp/install_setup/install_citus_indent.sh
4954RUN rm -rf /var/lib/apt/lists/* \
5055 && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
5156
52- ENV LANG en_US.utf8
53- # declare installed PG version
54- ENV PG_VERSION=16
57+ ENV LANG en_US.UTF-8
58+ ENV LC_ALL en_US.UTF-8
59+ ENV LANGUAGE en_US
60+
61+
5562
5663RUN useradd -ms /bin/bash heliodb -G sudo
5764RUN echo "%sudo ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/no-pass-ask
Original file line number Diff line number Diff line change 22 "build" : {
33 "dockerfile" : " Dockerfile" ,
44 "context" : " .." ,
5+ "args" : {
6+ // To include debug symbols for postgres, add -x
7+ "POSTGRES_INSTALL_ARG" : " -c" ,
8+ "PG_VERSION" : " 16" ,
9+ "CITUS_VERSION" : " v12.1"
10+ }
511 },
612 "customizations" : {
713 "vscode" : {
814 "extensions" : [
915 " ms-vscode.cpptools" ,
10- " ms-vscode.cpptools-extension-pack" ,
16+ " ms-vscode.cpptools-extension-pack"
1117 ]
1218 }
19+ },
20+ "forwardPorts" : [9712 ],
21+ "portsAttributes" : {
22+ "9712" : {
23+ "label" : " PostgresPort" ,
24+ "onAutoForward" : " notify" ,
25+ "requireLocalPort" : false
26+ }
1327 }
1428}
Original file line number Diff line number Diff line change 4848 postgresql-16 \
4949 postgresql-server-dev-16 \
5050 libpq-dev \
51+ libicu-dev \
52+ libkrb5-dev \
5153 postgresql-16-cron \
5254 postgresql-16-pgvector \
5355 postgresql-16-postgis-3 \
You can’t perform that action at this time.
0 commit comments