Skip to content

Commit

Permalink
chore: Build nargo against Ubuntu 20 for better compatability (#4710)
Browse files Browse the repository at this point in the history
As title.

This means the bootstrap_cache scripts pull a version of nargo that will
run on mainframe.
  • Loading branch information
charlielye committed Feb 21, 2024
1 parent a9971e1 commit e84759f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noir/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM rust:bookworm
FROM rust:bullseye
WORKDIR /usr/src/noir
COPY . .
RUN ./scripts/bootstrap_native.sh

# When running the container, mount the users home directory to same location.
FROM ubuntu:lunar
FROM ubuntu:focal
# Install Tini as nargo doesn't handle signals properly.
# Install git as nargo needs it to clone.
RUN apt-get update && apt-get install -y git tini && rm -rf /var/lib/apt/lists/* && apt-get clean
Expand Down

0 comments on commit e84759f

Please sign in to comment.