mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
update rust analyzer excludes
This commit is contained in:
@ -5,12 +5,15 @@ ARG RUNNER_VERSION=2.311.0
|
||||
|
||||
RUN apt-get update -y \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get install curl -y
|
||||
&& apt-get install curl sudo dotnet-sdk-6.0 -y
|
||||
|
||||
RUN useradd --no-create-home --shell /bin/bash ${USER}
|
||||
RUN useradd --no-create-home --shell /bin/bash ${USER} \
|
||||
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
|
||||
&& chmod 0440 /etc/sudoers.d/${USER}
|
||||
WORKDIR /home/${USER}
|
||||
RUN rm -rf /home/${USER}/dotfiles
|
||||
|
||||
USER ${USER}
|
||||
WORKDIR /home/${USER}/actions-runner
|
||||
RUN curl -o actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \
|
||||
-L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz \
|
||||
|
Reference in New Issue
Block a user