This commit is contained in:
parent
97785e9dc0
commit
1daa307688
|
|
@ -315,8 +315,12 @@ COPY postgres_15.8.1.044/ansible/files/stat_extension.sql /docker-entrypoint-ini
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
# Dockerfile 所在目录有你改过的 entrypoint
|
# Dockerfile 所在目录有你改过的 entrypoint
|
||||||
COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
#COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
#RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||||
|
|
||||||
|
ADD --chmod=0755 \
|
||||||
|
https://github.com/docker-library/postgres/raw/master/15/bullseye/docker-entrypoint.sh \
|
||||||
|
/usr/local/bin/
|
||||||
|
|
||||||
RUN mkdir -p /var/run/postgresql && chown postgres:postgres /var/run/postgresql
|
RUN mkdir -p /var/run/postgresql && chown postgres:postgres /var/run/postgresql
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue