mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-05 02:10:53 +03:00
packaging: Rebuild the base images to get PostgreSQL Client 15.
This is required to get the latest version of `pg_dump`, which is used by a few features (including the CLI command, `hasura seed create`). PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6393 GitOrigin-RevId: 31442fff669af9e5c987128e10c6801f8ed9fb95
This commit is contained in:
parent
7dbb3ab80b
commit
68f4779908
@ -76,6 +76,7 @@ let
|
||||
|
||||
ciInputs = [
|
||||
pkgs.go
|
||||
pkgs.gox
|
||||
];
|
||||
|
||||
dynamicLibraries = [
|
||||
|
@ -1,5 +1,5 @@
|
||||
# DATE VERSION: 2022-09-21
|
||||
# Modify the above date version (YYYY-MM-DD) if you want to rebuild the image for security updates
|
||||
# DATE VERSION: 2022-10-17
|
||||
# Modify the above date version (YYYY-MM-DD) if you want to rebuild the image
|
||||
FROM debian:bullseye-20220912-slim
|
||||
|
||||
### NOTE! Shared libraries here need to be kept in sync with `server-builder.dockerfile`!
|
||||
@ -31,7 +31,7 @@ RUN set -ex; \
|
||||
curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -; \
|
||||
echo 'deb http://apt.postgresql.org/pub/repos/apt bullseye-pgdg main' > /etc/apt/sources.list.d/pgdg.list; \
|
||||
apt-get -y update; \
|
||||
apt-get install -y postgresql-client; \
|
||||
apt-get install -y postgresql-client-15; \
|
||||
# delete all pg tools except pg_dump to keep the image minimal
|
||||
find /usr/bin -name 'pg*' -not -path '/usr/bin/pg_dump' -delete
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# DATE VERSION: 2022-09-21
|
||||
# Modify the above date version (YYYY-MM-DD) if you want to rebuild the image for security updates
|
||||
# DATE VERSION: 2022-10-17
|
||||
# Modify the above date version (YYYY-MM-DD) if you want to rebuild the image
|
||||
FROM ubuntu:focal-20220922
|
||||
|
||||
### NOTE! Shared libraries here need to be kept in sync with `server-builder.dockerfile`!
|
||||
@ -31,7 +31,7 @@ RUN set -ex; \
|
||||
curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -; \
|
||||
echo 'deb http://apt.postgresql.org/pub/repos/apt focal-pgdg main' > /etc/apt/sources.list.d/pgdg.list; \
|
||||
apt-get -y update; \
|
||||
apt-get install -y postgresql-client; \
|
||||
apt-get install -y postgresql-client-15; \
|
||||
# delete all pg tools except pg_dump to keep the image minimal
|
||||
find /usr/bin -name 'pg*' -not -path '/usr/bin/pg_dump' -delete
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user