Skip to content

Commit

Permalink
Also switch from debian to ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
artmakh committed Sep 18, 2024
1 parent 753d604 commit 1d417cd
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker/build-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion docker/contract-verifier/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
2 changes: 1 addition & 1 deletion docker/external-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
2 changes: 1 addition & 1 deletion docker/prover-fri-gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/prover-job-monitor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion docker/server-v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
2 changes: 1 addition & 1 deletion docker/snapshots-creator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
2 changes: 1 addition & 1 deletion docker/verified-sources-fetcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/witness-generator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
2 changes: 1 addition & 1 deletion docker/witness-vector-generator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down

0 comments on commit 1d417cd

Please sign in to comment.