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

dev: build sol in docker image #1255

Merged
merged 1 commit into from
Jul 5, 2024
Merged
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
dev: build sol in docker image
  • Loading branch information
enitrat committed Jul 5, 2024
commit 97dbea5e462c0922eaabe185e9bd1efa1394f0c4
9 changes: 8 additions & 1 deletion docker/deployer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ WORKDIR /app/kakarot
############################################
FROM base as builder

ENV PATH="$PATH:/root/.local/bin:/root/.foundry/bin"
RUN curl -L https://foundry.paradigm.xyz -o foundry.sh \
&& chmod +x foundry.sh \
&& ./foundry.sh \
&& foundryup

RUN apt-get update && apt-get install -y --no-install-recommends \
apt-transport-https \
ca-certificates \
Expand Down Expand Up @@ -60,7 +66,8 @@ RUN --mount=type=cache,target=/root/.cache \
COPY . .
RUN curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 0.7.0
RUN --mount=type=cache,target=/root/.cache \
make fetch-ssj-artifacts && make build && make build-cairo1
make fetch-ssj-artifacts && make build && make build-cairo1 && make build-sol


############################################
# Kakarot deployer
Expand Down
Loading