Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
yanliu38 committed Aug 12, 2024
1 parent e878aa5 commit 7785b8f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Use the official Rust image as a base
FROM rust:latest

ENV HOME=/code
RUN mkdir $HOME
WORKDIR $HOME

# Install dfx
RUN DFXVM_INIT_YES=yes sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"

Expand All @@ -9,8 +13,8 @@ ENV PATH=$HOME/.local/share/dfx/bin:$PATH
# Install cargo-make
RUN cargo install cargo-make

# Display the versions of cargo and cargo-make
RUN cargo --version && cargo-make --version
# Display the version of cargo and cargo make
RUN cargo --version && cargo make --version

# Set the entrypoint to cargo-make by default
ENTRYPOINT ["cargo-make"]
ENTRYPOINT ["cargo"]

0 comments on commit 7785b8f

Please sign in to comment.