File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed
Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 11FROM ghcr.io/foundry-rs/foundry:stable
22
33ENV CI=true
4- ENV PNPM_HOME="/pnpm"
5- ENV PATH="$PNPM_HOME:$PATH"
64
75# install node
8- RUN apk add --no-cache \
9- bash \
10- nodejs npm
6+ USER root
7+ RUN apt-get update && apt-get install -y curl
8+ RUN chsh -s /bin/bash foundry
9+
10+ USER foundry
11+ SHELL ["/bin/bash" , "-c" ]
12+
13+ # Create a script file sourced by both interactive and non-interactive bash shells
14+ ENV BASH_ENV /home/foundry/.bash_env
15+ RUN touch "${BASH_ENV}"
16+ RUN echo '. "${BASH_ENV}"' >> ~/.bashrc
1117
12- # install pnpm
13- RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
18+ # Download and install nvm
19+ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | PROFILE="${BASH_ENV}" bash
20+
21+ # Download and install pnpm
22+ ENV PNPM_HOME="/home/foundry/.pnpm"
23+ ENV PATH="$PNPM_HOME:$PATH"
24+ RUN curl -fsSL https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
1425
1526WORKDIR /app
1627
1728COPY . /app
1829
19- RUN pnpm install && forge build
30+ RUN nvm install \
31+ && pnpm install \
32+ && forge build
2033
2134ENTRYPOINT [ "/app/script/migrate.sh" ]
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export default defineConfig({
1010 "IAdapterCompressor.sol/**.json" ,
1111 "ICreditAccountCompressor.sol/**.json" ,
1212 "ICreditSuiteCompressor.sol/**.json" ,
13- "IDataCompressorV3.sol/**.json" ,
1413 "IGaugeCompressor.sol/**.json" ,
1514 "IMarketCompressor.sol/**.json" ,
1615 "IPeripheryCompressor.sol/**.json" ,
You can’t perform that action at this time.
0 commit comments