Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Fix docker-entrypoint.sh download URL
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Aug 16, 2021
1 parent ac849c6 commit ce246e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN mkdir /docker-entrypoint-initdb.d && \
&& chmod 777 "$PGDATA"

# recover docker-entrypoint.sh
RUN curl "https://raw.githubusercontent.com/docker-library/postgres/master/$PG_MAJOR/docker-entrypoint.sh" -o /usr/local/bin/docker-entrypoint.sh --fail && \
RUN curl "https://raw.githubusercontent.com/docker-library/postgres/master/$PG_MAJOR/buster/docker-entrypoint.sh" -o /usr/local/bin/docker-entrypoint.sh --fail && \
chmod +x /usr/local/bin/docker-entrypoint.sh && \
ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

Expand Down

0 comments on commit ce246e9

Please sign in to comment.