Skip to content

Commit

Permalink
Revert "feat(build): Use LTS version of ubuntu (#2239)" (#2262)
Browse files Browse the repository at this point in the history
This reverts commit ce6671e.

The cmake on this ubuntu doesn't actually work with our setup.
  • Loading branch information
ludamad authored Sep 12, 2023
1 parent 011c0b7 commit c808912
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy AS builder
FROM ubuntu:lunar 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:jammy AS builder
FROM ubuntu:lunar 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:jammy AS builder
FROM ubuntu:lunar 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:jammy
FROM ubuntu:lunar
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:jammy
FROM ubuntu:lunar

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

0 comments on commit c808912

Please sign in to comment.