File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
ARG VERSION=8.0
2
2
FROM mcr.microsoft.com/dotnet/sdk:$VERSION as base
3
3
4
- RUN apt-get update && apt-get install -y unzip
5
- RUN curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l /root/vsdbg
6
-
4
+ RUN apt-get update && apt-get install -y unzip procps && \
5
+ curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l /root/vsdbg && \
6
+ curl -L "https://data.services.jetbrains.com/products/download?code=RRD&platform=linux64" -o /tmp/RiderRemoteDebugger.zip && \
7
+ mkdir -p /root/.local/share/JetBrains/RiderRemoteDebugger/2024.1 && \
8
+ unzip /tmp/RiderRemoteDebugger.zip -d /root/.local/share/JetBrains/RiderRemoteDebugger/2024.1 && \
9
+ curl -L "https://download.jetbrains.com/rider/ssh-remote-debugging/linux-x64/jetbrains_debugger_agent_20230319.24.0" -o /usr/local/bin/debugger && \
10
+ chmod +x /usr/local/bin/debugger && \
11
+ rm -rf /var/lib/apt/lists/*
12
+
7
13
FROM mcr.microsoft.com/dotnet/sdk:$VERSION
8
14
9
15
WORKDIR /usr/src/app
@@ -12,5 +18,7 @@ WORKDIR /usr/src/app
12
18
COPY bashrc /root/.bashrc
13
19
14
20
COPY --from=base /root/vsdbg /usr/local/bin/vsdbg
21
+ COPY --from=base /usr/local/bin/debugger /usr/local/bin/debugger
22
+ COPY --from=base /root/.local/share/JetBrains/RiderRemoteDebugger/2024.1 /root/.local/share/JetBrains/RiderRemoteDebugger/2024.1
15
23
16
- CMD ["bash" ]
24
+ CMD ["bash" ]
You can’t perform that action at this time.
0 commit comments