update rust analyzer excludes

This commit is contained in:
DefectingCat
2024-01-03 13:02:49 +08:00
parent d2bbe10ec3
commit ac33689513
2 changed files with 31 additions and 2 deletions

View File

@ -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 \