Skip to content
Open
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
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ RUN node --version && \
python --version && \
dfx --version

# Install didc (Candid interface description language tool)
RUN curl -fsSL -o /tmp/didc-linux64 https://github.com/dfinity/candid/releases/download/2024-07-29/didc-linux64 && \
chmod +x /tmp/didc-linux64 && \
mv /tmp/didc-linux64 /usr/bin/didc

WORKDIR /app
9 changes: 9 additions & 0 deletions test/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
set -e
set -x

# Verify didc is installed correctly
echo "Checking didc installation..."
if didc --version; then
echo " didc is installed correctly"
else
echo " didc is not installed correctly"
exit 1
fi

# Start dfx in the background
echo "Starting dfx..."
dfx start --background --clean
Expand Down
Loading