1
1
# Source: https://github.com/dotnet/dotnet-docker
2
- FROM mcr.microsoft.com/dotnet/runtime-deps:6 .0-jammy as build
2
+ FROM mcr.microsoft.com/dotnet/runtime-deps:8 .0-jammy as build
3
3
4
4
ARG TARGETOS
5
5
ARG TARGETARCH
6
6
ARG RUNNER_VERSION
7
7
ARG RUNNER_CONTAINER_HOOKS_VERSION=0.6.1
8
- ARG DOCKER_VERSION=27.1 .1
9
- ARG BUILDX_VERSION=0.16.2
8
+ ARG DOCKER_VERSION=27.3 .1
9
+ ARG BUILDX_VERSION=0.18.0
10
10
11
11
RUN apt update -y && apt install curl unzip -y
12
12
@@ -32,7 +32,7 @@ RUN export RUNNER_ARCH=${TARGETARCH} \
32
32
"https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-${TARGETARCH}" \
33
33
&& chmod +x /usr/local/lib/docker/cli-plugins/docker-buildx
34
34
35
- FROM mcr.microsoft.com/dotnet/runtime-deps:6 .0-jammy
35
+ FROM mcr.microsoft.com/dotnet/runtime-deps:8 .0-jammy
36
36
37
37
ENV DEBIAN_FRONTEND=noninteractive
38
38
ENV RUNNER_MANUALLY_TRAP_SIG=1
@@ -47,7 +47,8 @@ RUN apt update -y \
47
47
# Configure git-core/ppa based on guidance here: https://git-scm.com/download/linux
48
48
RUN add-apt-repository ppa:git-core/ppa \
49
49
&& apt update -y \
50
- && apt install -y --no-install-recommends git
50
+ && apt install -y git \
51
+ && rm -rf /var/lib/apt/lists/*
51
52
52
53
RUN adduser --disabled-password --gecos "" --uid 1001 runner \
53
54
&& groupadd docker --gid 123 \
0 commit comments