Skip to content

Update dockerfile to ubuntu:24.04 #3771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Base runner off of ubuntu 24.04
Update from Jammy to Noble.
Add the dotnet runtime dependencies to Dockerfile
  • Loading branch information
joshua-clayton committed Mar 27, 2025
commit 2f4f7d3a4b92541287dd35c2e66b96a78f119344
10 changes: 7 additions & 3 deletions images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Source: https://github.com/dotnet/dotnet-docker
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-jammy AS build
FROM ubuntu:24.04 AS build

ARG TARGETOS
ARG TARGETARCH
@@ -36,7 +35,7 @@ RUN export RUNNER_ARCH=${TARGETARCH} \
"https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-${TARGETARCH}" \
&& chmod +x /usr/local/lib/docker/cli-plugins/docker-buildx

FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-jammy
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND=noninteractive
ENV RUNNER_MANUALLY_TRAP_SIG=1
@@ -49,11 +48,16 @@ RUN apt update -y \
&& apt-get install -y --no-install-recommends \
curl \
gpg-agent \
libkrb5-3 \
libssl3 \
liblttng-ust1 \
libicu74 \
lsb-release \
jq \
software-properties-common \
sudo \
unzip \
zlib1g \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*