mirror of
https://github.com/google/nomulus
synced 2026-07-28 02:52:45 +00:00
Update PostgreSQL version in builder image and tests (#2667)
This commit is contained in:
@@ -28,7 +28,7 @@ COPY go.sum ./
|
||||
COPY go.mod ./
|
||||
RUN go build -o /deployCloudSchedulerAndQueue
|
||||
|
||||
FROM marketplace.gcr.io/google/ubuntu2204
|
||||
FROM marketplace.gcr.io/google/ubuntu2404
|
||||
ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8
|
||||
# Add script for cloud scheduler and cloud tasks deployment
|
||||
COPY --from=deployCloudSchedulerAndQueueBuilder /deployCloudSchedulerAndQueue /usr/local/bin/deployCloudSchedulerAndQueue
|
||||
|
||||
@@ -43,10 +43,6 @@ apt-get install openjdk-21-jdk-headless -y
|
||||
|
||||
# Install Python
|
||||
apt-get install python3 -y
|
||||
# As of March 2021 python3 is at v3.6. Get pip then install dataclasses
|
||||
# (introduced in 3.7) for nom_build
|
||||
apt-get install python3-pip -y
|
||||
python3 -m pip install dataclasses
|
||||
|
||||
# Install Node
|
||||
apt-get install npm -y
|
||||
@@ -57,7 +53,7 @@ npm install -g n
|
||||
for i in {1..5}; do n 22.7.0 && break || sleep 15; done
|
||||
|
||||
# Install gp_dump
|
||||
apt-get install postgresql-client-11 procps -y
|
||||
apt-get install postgresql-client-17 procps -y
|
||||
|
||||
# Install gcloud
|
||||
apt-get install google-cloud-cli -y
|
||||
|
||||
@@ -3,3 +3,6 @@ COMMENT ON EXTENSION pgaudit IS 'provides auditing functionality';
|
||||
SET default_with_oids = false;
|
||||
CREATE EXTENSION IF NOT EXISTS pg_stat_statements WITH SCHEMA public;
|
||||
COMMENT ON EXTENSION pg_stat_statements IS 'track execution statistics of all SQL statements executed';
|
||||
SET transaction_timeout = 0;
|
||||
SET default_table_access_method = heap;
|
||||
SET default_with_oids = false;
|
||||
|
||||
Reference in New Issue
Block a user