diff --git a/docker/build-base/Dockerfile b/docker/build-base/Dockerfile index 16ea566cef70..6b08183171f8 100644 --- a/docker/build-base/Dockerfile +++ b/docker/build-base/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl clang openssl libssl-dev gcc g++ \ pkg-config build-essential libclang-dev linux-libc-dev liburing-dev && \ diff --git a/docker/contract-verifier/Dockerfile b/docker/contract-verifier/Dockerfile index b8d77163f141..ed64f2a033af 100644 --- a/docker/contract-verifier/Dockerfile +++ b/docker/contract-verifier/Dockerfile @@ -19,7 +19,7 @@ COPY . . RUN cargo build --release -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 ca-certificates wget python3 jq && rm -rf /var/lib/apt/lists/* diff --git a/docker/external-node/Dockerfile b/docker/external-node/Dockerfile index a573a76511a2..5c82d7c05848 100644 --- a/docker/external-node/Dockerfile +++ b/docker/external-node/Dockerfile @@ -17,7 +17,7 @@ WORKDIR /usr/src/zksync COPY . . RUN cargo build --release -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/* diff --git a/docker/prover-fri-gateway/Dockerfile b/docker/prover-fri-gateway/Dockerfile index a8d389df2839..290fd3511330 100644 --- a/docker/prover-fri-gateway/Dockerfile +++ b/docker/prover-fri-gateway/Dockerfile @@ -18,7 +18,7 @@ COPY . . RUN cd prover && cargo build --release --bin zksync_prover_fri_gateway -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/* # copy VK required for proof wrapping diff --git a/docker/prover-job-monitor/Dockerfile b/docker/prover-job-monitor/Dockerfile index b7255f5df433..4d3c8ad65c79 100644 --- a/docker/prover-job-monitor/Dockerfile +++ b/docker/prover-job-monitor/Dockerfile @@ -18,7 +18,7 @@ COPY . . RUN cd prover && cargo build --release --bin zksync_prover_job_monitor -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/src/zksync/prover/target/release/zksync_prover_job_monitor /usr/bin/ diff --git a/docker/server-v2/Dockerfile b/docker/server-v2/Dockerfile index d5b3ef2a5e61..d5b76d5cdee4 100644 --- a/docker/server-v2/Dockerfile +++ b/docker/server-v2/Dockerfile @@ -19,7 +19,7 @@ COPY . . RUN cargo build --release --features=rocksdb/io-uring -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 liburing-dev ca-certificates && \ rm -rf /var/lib/apt/lists/* diff --git a/docker/snapshots-creator/Dockerfile b/docker/snapshots-creator/Dockerfile index 044599bcc920..9ee40ea4e9dc 100644 --- a/docker/snapshots-creator/Dockerfile +++ b/docker/snapshots-creator/Dockerfile @@ -17,7 +17,7 @@ COPY . . RUN cargo build --release --bin snapshots_creator -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 liburing-dev ca-certificates && \ rm -rf /var/lib/apt/lists/* diff --git a/docker/verified-sources-fetcher/Dockerfile b/docker/verified-sources-fetcher/Dockerfile index f7a08eba587d..c4ac8e5bd0cc 100644 --- a/docker/verified-sources-fetcher/Dockerfile +++ b/docker/verified-sources-fetcher/Dockerfile @@ -18,7 +18,7 @@ COPY . . RUN cargo build --release --bin verified_sources_fetcher -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y apt-transport-https ca-certificates gnupg curl git && rm -rf /var/lib/apt/lists/* RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg diff --git a/docker/witness-generator/Dockerfile b/docker/witness-generator/Dockerfile index e8f017c4971d..9333a89b191b 100644 --- a/docker/witness-generator/Dockerfile +++ b/docker/witness-generator/Dockerfile @@ -20,7 +20,7 @@ COPY . . RUN cd prover && cargo build --release --bin zksync_witness_generator -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/* diff --git a/docker/witness-vector-generator/Dockerfile b/docker/witness-vector-generator/Dockerfile index dd04de7b7852..1be4b3951c6d 100644 --- a/docker/witness-vector-generator/Dockerfile +++ b/docker/witness-vector-generator/Dockerfile @@ -18,7 +18,7 @@ COPY . . RUN cd prover && cargo build --release --bin zksync_witness_vector_generator -FROM debian:bookworm-slim +FROM marketplace.gcr.io/google/ubuntu2404:latest RUN apt-get update && apt-get install -y curl libpq5 ca-certificates && rm -rf /var/lib/apt/lists/*