Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +8 -9
Dockerfile
CHANGED
|
@@ -16,15 +16,14 @@ RUN apt-get update && apt-get install -y apt-transport-https curl gnupg libicu-d
|
|
| 16 |
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb -O libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb \
|
| 17 |
&& dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
|
| 18 |
|
| 19 |
-
#
|
| 20 |
-
RUN curl -fsSL https://
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
RUN
|
| 24 |
-
|
| 25 |
-
#
|
| 26 |
-
ENV
|
| 27 |
-
ENV PATH=$PATH:/usr/local/dotnet
|
| 28 |
|
| 29 |
# Instala Python 3
|
| 30 |
RUN apt-get update && apt-get install -y python3
|
|
|
|
| 16 |
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb -O libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb \
|
| 17 |
&& dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
|
| 18 |
|
| 19 |
+
# Download the .NET Runtime
|
| 20 |
+
RUN curl -fsSL "https://download.visualstudio.microsoft.com/download/pr/e77438f6-865f-45e0-9a52-3e4b04aa609f/024a880ed4bfbfd3b9f222fec0b6aaff/dotnet-runtime-5.0.17-linux-x64.tar.gz" -o dotnet-runtime-5.0.17-linux-x64.tar.gz
|
| 21 |
+
|
| 22 |
+
# Extract the runtime
|
| 23 |
+
RUN tar -xzf dotnet-runtime-5.0.17-linux-x64.tar.gz -C /usr/local
|
| 24 |
+
|
| 25 |
+
# Add the .NET Runtime to the PATH
|
| 26 |
+
ENV PATH="/usr/local/dotnet:$PATH"
|
|
|
|
| 27 |
|
| 28 |
# Instala Python 3
|
| 29 |
RUN apt-get update && apt-get install -y python3
|