Skip to content

Commit 1e1f784

Browse files
authored
Update runner docker image. (actions#3511)
* Update docker and buildx version. * .
1 parent 694ae12 commit 1e1f784

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

images/Dockerfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# 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
33

44
ARG TARGETOS
55
ARG TARGETARCH
66
ARG RUNNER_VERSION
77
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
1010

1111
RUN apt update -y && apt install curl unzip -y
1212

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

35-
FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-jammy
35+
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-jammy
3636

3737
ENV DEBIAN_FRONTEND=noninteractive
3838
ENV RUNNER_MANUALLY_TRAP_SIG=1
@@ -47,7 +47,8 @@ RUN apt update -y \
4747
# Configure git-core/ppa based on guidance here: https://git-scm.com/download/linux
4848
RUN add-apt-repository ppa:git-core/ppa \
4949
&& apt update -y \
50-
&& apt install -y --no-install-recommends git
50+
&& apt install -y git \
51+
&& rm -rf /var/lib/apt/lists/*
5152

5253
RUN adduser --disabled-password --gecos "" --uid 1001 runner \
5354
&& groupadd docker --gid 123 \

0 commit comments

Comments
 (0)