Skip to content

Commit

Permalink
Revert ".nuget directory should be writable (#13)" (#14)
Browse files Browse the repository at this point in the history
This reverts commit d1a3938.
  • Loading branch information
hybloid authored Nov 30, 2023
1 parent d1a3938 commit 18fffd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 2023.3/base/dotnet.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV JAVA_HOME="$QODANA_DIST/jbr" \
QODANA_CONF="$HOME/.config/idea" \
PATH="$QODANA_DIST/bin:$PATH"

ENV RIDER_UNREAL_ROOT="/data/unrealEngine" DOTNET_ROOT="/usr/share/dotnet" NUGET_ROOT="/root/.nuget"
ENV RIDER_UNREAL_ROOT="/data/unrealEngine" DOTNET_ROOT="/usr/share/dotnet"

# Not using the URL https://dot.net/v1/dotnet-install.sh because of https://github.com/dotnet/install-scripts/issues/276
ARG DOTNET_INSTALL_SH_REVISION="40434288dc5bbda41eafcbcbbc5c0fbbe028fb30"
Expand Down Expand Up @@ -48,8 +48,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_A -i $DOTNET_ROOT && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_B -i $DOTNET_ROOT && \
bash /tmp/dotnet-install.sh -c $DOTNET_CHANNEL_C -i $DOTNET_ROOT && \
chmod 777 -R $DOTNET_ROOT && \
chmod 777 -R $NUGET_ROOT
chmod 777 -R $DOTNET_ROOT

ENV PATH="/opt/yarn/bin:$PATH"
COPY --from=node_base /usr/local/bin/node /usr/local/bin/
Expand Down

0 comments on commit 18fffd6

Please sign in to comment.