Skip to content
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
3 changes: 3 additions & 0 deletions .github/workflows/monorepo-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- '.dockerignore'
- '.github/workflows/monorepo-docker.yml'
- 'typescript/ccip-server/**'
# Dependency changes that could affect the Docker build
- 'yarn.lock'
- '**/package.json'
workflow_dispatch:
inputs:
include_arm64:
Expand Down
13 changes: 10 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
FROM node:20-alpine
FROM node:20-slim

WORKDIR /hyperlane-monorepo

RUN apk add --update --no-cache git g++ make py3-pip jq bash curl && \
yarn set version 4.5.1
RUN apt-get update && apt-get install -y --no-install-recommends \
git g++ make python3 python3-pip jq bash curl ca-certificates unzip \
&& rm -rf /var/lib/apt/lists/* \
&& yarn set version 4.5.1

# Install Foundry for solidity builds (early for layer caching)
RUN curl -L https://foundry.paradigm.xyz | bash
RUN /root/.foundry/bin/foundryup
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to run against latest?

Copy link
Collaborator Author

@paulbalaji paulbalaji Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this gives us latest stable, which is probably fine? (the foundry ci action defaults to latest stable too)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually wasn't too hard to pin to a specific version everywhere #7531

ENV PATH="/root/.foundry/bin:${PATH}"

# Copy package.json and friends
COPY package.json yarn.lock .yarnrc.yml ./
Expand Down
1 change: 1 addition & 0 deletions solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
],
"license": "Apache-2.0",
"scripts": {
"deps:soldeer": "forge soldeer install",
"build": "yarn version:update && yarn hardhat-esm compile && tsc && ./exportBuildArtifact.sh",
"build:zk": "yarn hardhat-zk compile && tsc && ts-node generate-artifact-exports.mjs && ZKSYNC=true ./exportBuildArtifact.sh",
"prepublishOnly": "yarn build && yarn build:zk",
Expand Down
5 changes: 5 additions & 0 deletions solidity/turbo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"extends": ["//"],
"tasks": {
"deps:soldeer": {
"inputs": ["foundry.toml", "soldeer.lock"],
"outputs": ["dependencies/**"]
},
"build": {
"dependsOn": ["deps:soldeer"],
"outputs": [
"artifacts/**",
"cache/**",
Expand Down
Loading