Skip to content

Commit 24430ee

Browse files
authored
fix: pin entrypoint file download until we can test changes (#1752)
1 parent ae728fa commit 24430ee

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Dockerfile-15

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ COPY migrations/db /docker-entrypoint-initdb.d/
190190
COPY ansible/files/pgbouncer_config/pgbouncer_auth_schema.sql /docker-entrypoint-initdb.d/init-scripts/00-schema.sql
191191
COPY ansible/files/stat_extension.sql /docker-entrypoint-initdb.d/migrations/00-extension.sql
192192

193-
# # Add upstream entrypoint script
193+
# # Add upstream entrypoint script pinned for now to last tested version
194194
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
195195
ADD --chmod=0755 \
196-
https://github.com/docker-library/postgres/raw/master/15/bullseye/docker-entrypoint.sh \
196+
https://github.com/docker-library/postgres/raw/889f9447cd2dfe21cccfbe9bb7945e3b037e02d8/15/bullseye/docker-entrypoint.sh \
197197
/usr/local/bin/docker-entrypoint.sh
198198

199199
RUN mkdir -p /var/run/postgresql && chown postgres:postgres /var/run/postgresql

Dockerfile-17

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ COPY migrations/db /docker-entrypoint-initdb.d/
198198
COPY ansible/files/pgbouncer_config/pgbouncer_auth_schema.sql /docker-entrypoint-initdb.d/init-scripts/00-schema.sql
199199
COPY ansible/files/stat_extension.sql /docker-entrypoint-initdb.d/migrations/00-extension.sql
200200

201-
# # Add upstream entrypoint script
201+
# # Add upstream entrypoint script pinned for now to last tested version
202202
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
203203
ADD --chmod=0755 \
204-
https://github.com/docker-library/postgres/raw/master/17/bullseye/docker-entrypoint.sh \
204+
https://github.com/docker-library/postgres/raw/889f9447cd2dfe21cccfbe9bb7945e3b037e02d8/17/bullseye/docker-entrypoint.sh \
205205
/usr/local/bin/docker-entrypoint.sh
206206

207207
RUN mkdir -p /var/run/postgresql && chown postgres:postgres /var/run/postgresql

Dockerfile-orioledb-17

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ COPY ansible/files/stat_extension.sql /docker-entrypoint-initdb.d/migrations/00-
203203
RUN echo "CREATE EXTENSION orioledb;" > /docker-entrypoint-initdb.d/init-scripts/00-pre-init.sql && \
204204
chown postgres:postgres /docker-entrypoint-initdb.d/init-scripts/00-pre-init.sql
205205

206-
# # Add upstream entrypoint script
206+
# # Add upstream entrypoint script pinned for now to last tested version
207207
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
208208
ADD --chmod=0755 \
209-
https://github.com/docker-library/postgres/raw/master/17/bullseye/docker-entrypoint.sh \
209+
https://github.com/docker-library/postgres/raw/889f9447cd2dfe21cccfbe9bb7945e3b037e02d8/17/bullseye/docker-entrypoint.sh \
210210
/usr/local/bin/docker-entrypoint.sh
211211

212212
RUN mkdir -p /var/run/postgresql && chown postgres:postgres /var/run/postgresql

0 commit comments

Comments
 (0)