Skip to content

Commit

Permalink
Update Dockerfile to install latest version of rust
Browse files Browse the repository at this point in the history
the apt version of rust is 1.5, while the latest stable
version of rust is 1.79.
By using the older version of Rust, it is not possible to
compile cairo-lang-test-utils due to the following error:

```console
#13 193.7 error[E0658]: use of unstable library feature 'result_option_inspect'
#13 193.7   --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-test-utils-2.7.0-rc.3/src/parse_test_file.rs:74:34
#13 193.7    |
#13 193.7 74 |         fs::File::open(filename).inspect_err(|_| log::error!("File not found: {filename:?}"))?;
```
  • Loading branch information
derrix060 committed Jul 24, 2024
1 parent 32350ec commit 6983936
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ FROM ubuntu:24.10 AS build

ARG VM_DEBUG

# Install Alpine Dependencies
# removal is temp. to fix https://github.com/orgs/community/discussions/120966

RUN apt-get update && \
apt-get install build-essential cargo git golang upx-ucl libjemalloc-dev libjemalloc2 -y
apt-get install curl build-essential git golang upx-ucl libjemalloc-dev libjemalloc2 -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y

WORKDIR /app

Expand Down

0 comments on commit 6983936

Please sign in to comment.