Skip to content

Commit

Permalink
feat: Add candid extractor (#14)
Browse files Browse the repository at this point in the history
- add candid extractor to slim image
- bump dfx
  • Loading branch information
fxgst authored Oct 29, 2024
1 parent 0408814 commit 04c238f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM --platform=linux/amd64 rust:1.75-slim-bookworm
ENV NVM_DIR=/root/.nvm
ENV NVM_VERSION=v0.40.1
ENV NODE_VERSION=22.10.0
ENV DFX_VERSION=0.24.0
ENV DFX_VERSION=0.24.1
ENV POCKET_IC_SERVER_VERSION=6.0.0
ENV POCKET_IC_PYTHON_VERSION=2.1.0

Expand Down
2 changes: 1 addition & 1 deletion azle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get -yqq install --no-install-recommends curl ca-certificates \
libunwind-dev

# Install dfx
RUN DFX_VERSION=0.24.0 DFXVM_INIT_YES=true sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
RUN DFX_VERSION=0.24.1 DFXVM_INIT_YES=true sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
ENV PATH="/root/.local/share/dfx/bin:$PATH"

# Dug out from [here](https://github.com/demergent-labs/azle/blob/main/.github/workflows/test.yml#L251)
Expand Down
5 changes: 4 additions & 1 deletion slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM --platform=linux/amd64 rust:1.75-slim-bookworm
ENV NVM_DIR=/root/.nvm
ENV NVM_VERSION=v0.40.1
ENV NODE_VERSION=22.10.0
ENV DFX_VERSION=0.24.0
ENV DFX_VERSION=0.24.1

RUN apt -yq update
RUN apt -yqq install --no-install-recommends curl ca-certificates libunwind-dev git
Expand All @@ -23,5 +23,8 @@ ENV DFX_VERSION=
# Add wasm32-unknown-unknown target
RUN rustup target add wasm32-unknown-unknown

# Install candid-extractor
RUN cargo install candid-extractor

# Clean apt
RUN apt-get autoremove && apt-get clean

0 comments on commit 04c238f

Please sign in to comment.