Skip to content

Commit

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

ENV HOME=/code
ENV HOME=/code \
XDG_DATA_HOME=/usr/local
RUN mkdir $HOME
WORKDIR $HOME

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

ENV PATH=/usr/local/dfx/bin:$PATH

Expand Down

0 comments on commit 7c5af15

Please sign in to comment.