Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build): Use LTS version of ubuntu #2239

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:lunar AS builder
FROM ubuntu:jammy AS builder
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential wget git libssl-dev cmake ninja-build curl
RUN curl https://wasmtime.dev/install.sh -sSf | bash /dev/stdin --version v3.0.1
WORKDIR /usr/src/barretenberg/cpp
Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/dockerfiles/Dockerfile.wasm-linux-clang
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:lunar AS builder
FROM ubuntu:jammy AS builder
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential wget git libssl-dev cmake ninja-build curl binaryen

WORKDIR /usr/src/circuits/cpp/barretenberg/cpp
Expand Down
4 changes: 2 additions & 2 deletions circuits/cpp/dockerfiles/Dockerfile.wasm-linux-clang-assert
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:lunar AS builder
FROM ubuntu:jammy AS builder
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential git libssl-dev cmake ninja-build curl binaryen

WORKDIR /usr/src/circuits/cpp/barretenberg/cpp
Expand All @@ -9,7 +9,7 @@ COPY . .

RUN cmake --preset wasm && cmake --build --preset wasm

FROM ubuntu:lunar
FROM ubuntu:jammy
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y xz-utils curl
RUN curl https://wasmtime.dev/install.sh -sSf | bash /dev/stdin --version v3.0.1
COPY --from=builder /usr/src/circuits/cpp/barretenberg/cpp/srs_db /usr/src/circuits/cpp/barretenberg/cpp/srs_db
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/noir-contracts/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Running on ubuntu until noir supports an alpine build

# Builder stage to build the noir artifacts
FROM ubuntu:lunar
FROM ubuntu:jammy

RUN apt-get update && apt-get install -y \
curl \
Expand Down