mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Set HOME environment variable for Docker user in Dockerfile
This commit is contained in:
parent
5e03e7f1e5
commit
345166b16c
1
.github/runners/runner-x64/Dockerfile
vendored
1
.github/runners/runner-x64/Dockerfile
vendored
@ -19,6 +19,7 @@ RUN apt install -y --no-install-recommends \
|
||||
# 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}"
|
||||
ENV HOME="/home/docker"
|
||||
|
||||
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