Skip to content

Commit 34d577f

Browse files
authored
Update postgres references (#774)
* Update postgres references Update postgres-12.x references to simply 12. No tags exist for this image other than a very old one. * Pinned postgres image version with SHA * Pinned postgres image * Pinned postgres image version
1 parent 957e178 commit 34d577f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker-compose/db-only-migrate.docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
#
1313
pgsql:
1414
container_name: pgsql
15-
image: 'index.docker.io/sourcegraph/postgres-12.6-alpine:insiders@sha256:5a6badacb3cf2a2bfc039f68746e0d849e95ded1976bf3ef18471008069c5a97'
15+
image: 'index.docker.io/sourcegraph/postgres-12-alpine:135107_2022-03-03_9498a8bd3366@sha256:e26b159dc7c0c47d136886390c899816e669a3c2c1ead689bdad0b610364e45e'
1616
cpus: 4
1717
mem_limit: '2g'
1818
healthcheck:

docker-compose/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ services:
538538
#
539539
pgsql:
540540
container_name: pgsql
541-
image: 'index.docker.io/sourcegraph/postgres-12.6-alpine:insiders@sha256:83b7a1d85e2c0a9df0fd0cfecef1a184e648ee7f274d9d26cbd8a86171c66b6a'
541+
image: 'index.docker.io/sourcegraph/postgres-12-alpine:135107_2022-03-03_9498a8bd3366@sha256:e26b159dc7c0c47d136886390c899816e669a3c2c1ead689bdad0b610364e45e'
542542
cpus: 4
543543
mem_limit: '2g'
544544
healthcheck:

pure-docker/deploy-pgsql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ docker run --detach \
1919
--memory=2g \
2020
-e PGDATA=/var/lib/postgresql/data/pgdata \
2121
-v $VOLUME:/var/lib/postgresql/data/ \
22-
index.docker.io/sourcegraph/postgres-12.6-alpine:3.36.3@sha256:8a07418646c33d74e749391da3470f37d5401edae588bb79655f8c7206257d49
22+
index.docker.io/sourcegraph/postgres-12-alpine:135107_2022-03-03_9498a8bd3366@sha256:e26b159dc7c0c47d136886390c899816e669a3c2c1ead689bdad0b610364e45e
2323

2424
# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
2525
# but anything 12 and higher is supported.

0 commit comments

Comments
 (0)