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
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For Motoko canister development.

| Tool | Version |
|---|---|
| [icp-cli](https://cli.internetcomputer.org) | 0.3.1 |
| [icp-cli](https://cli.internetcomputer.org) | 0.3.2 |
| [ic-wasm](https://github.com/dfinity/ic-wasm) | 0.9.11 |
| [mops](https://mops.one) | 2.13.2 |
| moc | installed per-project via `mops install` |
Expand All @@ -19,7 +19,7 @@ For Motoko canister development.

```bash
docker pull ghcr.io/dfinity/icp-dev-env-motoko:latest # always current
docker pull ghcr.io/dfinity/icp-dev-env-motoko:0.3.1 # pinned
docker pull ghcr.io/dfinity/icp-dev-env-motoko:0.3.2 # pinned
```

### `icp-dev-env-rust`
Expand All @@ -28,16 +28,17 @@ For Rust canister development.

| Tool | Version |
|---|---|
| [icp-cli](https://cli.internetcomputer.org) | 0.3.1 |
| [icp-cli](https://cli.internetcomputer.org) | 0.3.2 |
| [ic-wasm](https://github.com/dfinity/ic-wasm) | 0.9.11 |
| [candid-extractor](https://github.com/dfinity/cdk-rs) | 0.1.4 |
| Rust | 1.95.0 |
| wasm32-unknown-unknown target | — |
| Node.js | 24.15.0 |
| pnpm | 11.4.0 |

```bash
docker pull ghcr.io/dfinity/icp-dev-env-rust:latest # always current
docker pull ghcr.io/dfinity/icp-dev-env-rust:0.3.1 # pinned
docker pull ghcr.io/dfinity/icp-dev-env-rust:0.3.2 # pinned
```

### `icp-dev-env-all`
Expand All @@ -46,8 +47,9 @@ Combined Motoko and Rust development environment. Use this when your project inc

| Tool | Version |
|---|---|
| [icp-cli](https://cli.internetcomputer.org) | 0.3.1 |
| [icp-cli](https://cli.internetcomputer.org) | 0.3.2 |
| [ic-wasm](https://github.com/dfinity/ic-wasm) | 0.9.11 |
| [candid-extractor](https://github.com/dfinity/cdk-rs) | 0.1.4 |
| [mops](https://mops.one) | 2.13.2 |
| moc | installed per-project via `mops install` |
| Rust | 1.95.0 |
Expand All @@ -57,7 +59,7 @@ Combined Motoko and Rust development environment. Use this when your project inc

```bash
docker pull ghcr.io/dfinity/icp-dev-env-all:latest # always current
docker pull ghcr.io/dfinity/icp-dev-env-all:0.3.1 # pinned
docker pull ghcr.io/dfinity/icp-dev-env-all:0.3.2 # pinned
```

## Usage
Expand Down
7 changes: 6 additions & 1 deletion all/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ FROM rust:1.95.0-slim-bookworm
ARG NODE_VERSION=24.15.0
ARG NVM_VERSION=v0.40.1
ARG PNPM_VERSION=11.4.0
ARG ICP_CLI_VERSION=0.3.1
ARG ICP_CLI_VERSION=0.3.2
ARG IC_WASM_VERSION=0.9.11
ARG CANDID_EXTRACTOR_VERSION=0.1.4
ARG IC_MOPS_VERSION=2.13.2

ENV NVM_DIR=/root/.nvm
Expand All @@ -29,5 +30,9 @@ RUN npm install -g @icp-sdk/icp-cli@${ICP_CLI_VERSION} @icp-sdk/ic-wasm@${IC_WAS
# wasm32 target for Rust canister compilation
RUN rustup target add wasm32-unknown-unknown

# candid-extractor — uses pre-built binary on amd64, falls back to cargo install on arm64
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash && \
cargo binstall --no-confirm candid-extractor@${CANDID_EXTRACTOR_VERSION}

# mops (Motoko package manager) — moc is installed per-project via mops install
RUN npm install -g ic-mops@${IC_MOPS_VERSION}
2 changes: 1 addition & 1 deletion motoko/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM debian:bookworm-slim
ARG NODE_VERSION=24.15.0
ARG NVM_VERSION=v0.40.1
ARG PNPM_VERSION=11.4.0
ARG ICP_CLI_VERSION=0.3.1
ARG ICP_CLI_VERSION=0.3.2
ARG IC_WASM_VERSION=0.9.11
ARG IC_MOPS_VERSION=2.13.2

Expand Down
7 changes: 6 additions & 1 deletion rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ FROM rust:1.95.0-slim-bookworm
ARG NODE_VERSION=24.15.0
ARG NVM_VERSION=v0.40.1
ARG PNPM_VERSION=11.4.0
ARG ICP_CLI_VERSION=0.3.1
ARG ICP_CLI_VERSION=0.3.2
ARG IC_WASM_VERSION=0.9.11
ARG CANDID_EXTRACTOR_VERSION=0.1.4

ENV NVM_DIR=/root/.nvm
ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin:${PATH}"
Expand All @@ -27,3 +28,7 @@ RUN npm install -g @icp-sdk/icp-cli@${ICP_CLI_VERSION} @icp-sdk/ic-wasm@${IC_WAS

# wasm32 target for canister compilation
RUN rustup target add wasm32-unknown-unknown

# candid-extractor — uses pre-built binary on amd64, falls back to cargo install on arm64
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash && \
cargo binstall --no-confirm candid-extractor@${CANDID_EXTRACTOR_VERSION}
Loading