Skip to content

Commit

Permalink
Upgrade to Ubuntu 24.04 (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 authored Sep 30, 2024
1 parent 7d250e3 commit 52dc1ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build-env
FROM mcr.microsoft.com/dotnet/sdk:8.0-noble AS build-env
WORKDIR /app

RUN apt-get update && apt-get install -y g++ curl cmake
Expand All @@ -14,7 +14,7 @@ RUN dotnet publish ./src/Machine/src/Serval.Machine.EngineServer/Serval.Machine.
RUN dotnet publish ./src/Machine/src/Serval.Machine.JobServer/Serval.Machine.JobServer.csproj -c Release -o out_machine_job_server

# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy as production
FROM mcr.microsoft.com/dotnet/aspnet:8.0-noble as production
# libgomp needed for thot
RUN apt-get update && apt-get install -y libgomp1
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion dockerfile.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy
FROM mcr.microsoft.com/dotnet/sdk:8.0-noble
# libgomp needed for thot
RUN apt update && apt install -y unzip libgomp1 && \
curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l /remote_debugger

0 comments on commit 52dc1ba

Please sign in to comment.