Skip to content

Commit

Permalink
fix: docker images (#433)
Browse files Browse the repository at this point in the history
* fix: new foundryup api

* docs: small update
  • Loading branch information
leovct authored Dec 31, 2024
1 parent 2edcc2f commit 747b567
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ This image contains all the npm dependencies and zkevm contracts compiled for a
Build the `zkevm-contracts` image.

```bash
version="v9.0.0-rc.2-pp-fork.12"
version="v8.0.0-rc.4-fork.12"
docker build . \
--tag local/zkevm-contracts:$version \
--build-arg ZKEVM_CONTRACTS_BRANCH=$version \
Expand All @@ -81,8 +81,8 @@ Check the size of the image.

```bash
$ docker images --filter "reference=local/zkevm-contracts"
REPOSITORY TAG IMAGE ID CREATED SIZE
local/zkevm-contracts v9.0.0-rc.2-pp-fork.12 bdf8225cfa77 7 minutes ago 2.54GB
REPOSITORY TAG IMAGE ID CREATED SIZE
local/zkevm-contracts v8.0.0-rc.4-fork.12 bdf8225cfa77 7 minutes ago 2.54GB
```

(Optional) Push image to the Docker Hub.
Expand Down
2 changes: 1 addition & 1 deletion docker/toolbox.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ RUN apt-get update \
&& pipx ensurepath \
&& pipx install yq \
&& curl --silent --location --proto "=https" https://foundry.paradigm.xyz | bash \
&& /root/.foundry/bin/foundryup --version ${FOUNDRY_VERSION} \
&& /root/.foundry/bin/foundryup --install ${FOUNDRY_VERSION} \
&& cp /root/.foundry/bin/* /usr/local/bin
2 changes: 1 addition & 1 deletion docker/zkevm-contracts.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN apt-get update \
&& pipx ensurepath \
&& pipx install yq \
&& curl --silent --location --proto "=https" https://foundry.paradigm.xyz | bash \
&& /root/.foundry/bin/foundryup --version ${FOUNDRY_VERSION} \
&& /root/.foundry/bin/foundryup --install ${FOUNDRY_VERSION} \
&& cp /root/.foundry/bin/* /usr/local/bin

USER node

0 comments on commit 747b567

Please sign in to comment.