22 lines
378 B
Docker
22 lines
378 B
Docker
FROM postgres:15
|
|
|
|
#COPY docker-entrypoint.sh /usr/local/bin/
|
|
COPY config.sh /docker-entrypoint-initdb.d/
|
|
COPY entrypoint.sh /usr/local/bin/
|
|
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
|
|
CMD ["postgres"]
|
|
|
|
#ENTRYPOINT ["bash"]
|
|
|
|
#ENV LANG en_US.utf8
|
|
#ENV PG_MAJOR 15
|
|
#ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
|
|
#
|
|
#ENV PG_VERSION 15.14-1.pgdg13+1
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#ENV PGDATA /var/lib/postgresql/data |