Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +12 -5
Dockerfile
CHANGED
|
@@ -71,11 +71,18 @@ RUN curl -LO https://go.dev/dl/go1.23.0.linux-amd64.tar.gz \
|
|
| 71 |
# Node.js + Java + .NET
|
| 72 |
# -----------------------------
|
| 73 |
RUN apt-fast update && apt-fast install -y openjdk-17-jdk
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
&&
|
| 78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
|
| 80 |
# Yarn + Pnpm build tools
|
| 81 |
RUN npm install -g yarn pnpm
|
|
|
|
| 71 |
# Node.js + Java + .NET
|
| 72 |
# -----------------------------
|
| 73 |
RUN apt-fast update && apt-fast install -y openjdk-17-jdk
|
| 74 |
+
|
| 75 |
+
# Install Microsoft package signing key
|
| 76 |
+
RUN wget https://packages.microsoft.com/keys/microsoft.asc -O /tmp/microsoft.asc \
|
| 77 |
+
&& gpg --dearmor /tmp/microsoft.asc \
|
| 78 |
+
> /usr/share/keyrings/microsoft.gpg
|
| 79 |
+
|
| 80 |
+
# Register the new APT v2 repository
|
| 81 |
+
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/24.04/prod noble main" \
|
| 82 |
+
> /etc/apt/sources.list.d/microsoft-prod.list
|
| 83 |
+
|
| 84 |
+
# Install .NET SDK
|
| 85 |
+
RUN apt-fast update && apt-fast install -y dotnet-sdk-8.0
|
| 86 |
|
| 87 |
# Yarn + Pnpm build tools
|
| 88 |
RUN npm install -g yarn pnpm
|