mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 13:00:00 +00:00
Refactor Dockerfile to install Rust and Cargo dependencies
This commit is contained in:
parent
7e27539529
commit
eeba602c14
7
.github/runners/runner-x64/Dockerfile
vendored
7
.github/runners/runner-x64/Dockerfile
vendored
@ -9,8 +9,13 @@ RUN apt update -y && apt upgrade -y && useradd -m docker
|
||||
RUN apt install -y --no-install-recommends \
|
||||
curl jq build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip \
|
||||
# dot net core dependencies
|
||||
libicu74 libssl3 libkrb5-3 zlib1g libcurl4
|
||||
libicu74 libssl3 libkrb5-3 zlib1g libcurl4 \
|
||||
# Rust and Cargo dependencies
|
||||
gcc cmake
|
||||
|
||||
# Install Rust and Cargo
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="/home/docker/.cargo/bin:${PATH}"
|
||||
|
||||
RUN cd /home/docker && mkdir actions-runner && cd actions-runner \
|
||||
&& curl -O -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \
|
||||
|
Loading…
x
Reference in New Issue
Block a user