Skip to content

Commit

Permalink
fix: update path to ensure cargo is accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Dec 1, 2024
1 parent 7c410e3 commit 4d6d2b1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ RUN apt-get update && \
pkg-config \
curl

USER ubuntu
ENV HOME="/home/ubuntu"
RUN mkdir -p ${HOME}
WORKDIR ${HOME}

RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

RUN . ${HOME}/.cargo/env && cargo test --verbose
RUN cargo test --verbose
RUN cargo build --verbose --release

0 comments on commit 4d6d2b1

Please sign in to comment.