Skip to content

Commit

Permalink
feat: Install specific version of rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
lubux committed Oct 3, 2024
1 parent d8b698e commit 793a67d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
FROM ubuntu

# Install rust

ENV RUST_VERSION=1.81.0

RUN apt-get update && apt-get install -y \
curl \
build-essential

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

ENV PATH=/root/.cargo/bin:$PATH

RUN rustup install ${RUST_VERSION} \
&& rustup default ${RUST_VERSION}

RUN rustc --version

# Build test suite

ARG TEST_SUITE_REPO=https://gitlab.com/sequoia-pgp/openpgp-interoperability-test-suite.git

ARG TEST_SUITE_REF=2273f28f86a7407d71cfac34e4fda0a444b4d42a

RUN apt update && apt install -y git rustc cargo clang-15 llvm pkg-config nettle-dev
RUN apt update && apt install -y git clang-15 llvm pkg-config nettle-dev

ENV TEST_SUITE_DIR=/test-suite

Expand Down

0 comments on commit 793a67d

Please sign in to comment.