From fde86b06667d156fb0e0c74acecf01182620927b Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Tue, 13 Jun 2023 16:12:22 +0200 Subject: [PATCH] Switch from Debian to Ubuntu 22.04 (#2651) --- images/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/images/Dockerfile b/images/Dockerfile index 037695878..c1ab96d27 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -1,4 +1,5 @@ -FROM mcr.microsoft.com/dotnet/runtime-deps:6.0 as build +# Source: https://github.com/dotnet/dotnet-docker +FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-jammy as build ARG RUNNER_VERSION ARG RUNNER_ARCH="x64" @@ -22,7 +23,7 @@ RUN export DOCKER_ARCH=x86_64 \ && tar zxvf docker.tgz \ && rm -rf docker.tgz -FROM mcr.microsoft.com/dotnet/runtime-deps:6.0 +FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-jammy ENV DEBIAN_FRONTEND=noninteractive ENV RUNNER_MANUALLY_TRAP_SIG=1 @@ -31,6 +32,7 @@ ENV ACTIONS_RUNNER_PRINT_LOG_TO_STDOUT=1 RUN apt-get update -y \ && apt-get install -y --no-install-recommends \ sudo \ + lsb-release \ && rm -rf /var/lib/apt/lists/* RUN adduser --disabled-password --gecos "" --uid 1001 runner \