From 76d605f3c09df3447e2aee25cc193370415d4619 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Wed, 11 Dec 2024 14:15:15 -0600 Subject: [PATCH] Add Node to Alpine 3.21 --- src/alpine/3.21/amd64/Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/alpine/3.21/amd64/Dockerfile b/src/alpine/3.21/amd64/Dockerfile index 5a6ada752..bd6221de3 100644 --- a/src/alpine/3.21/amd64/Dockerfile +++ b/src/alpine/3.21/amd64/Dockerfile @@ -1,7 +1,7 @@ FROM amd64/alpine:3.21 -# Install .NET and test dependencies RUN apk add --upgrade --no-cache \ + # Install .NET and test dependencies autoconf \ automake \ bash \ @@ -52,7 +52,10 @@ RUN apk add --upgrade --no-cache \ userspace-rcu \ util-linux-dev \ which \ - zlib-dev + zlib-dev \ + \ + # Azure DevOps container job requirements + nodejs # Install the latest non-preview powershell release. RUN apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache lttng-ust \ @@ -70,3 +73,6 @@ RUN azureEnv="/usr/local/share/azure-cli-env" \ && "$azureEnv/bin/python" -m pip install --upgrade setuptools \ && "$azureEnv/bin/python" -m pip install azure-cli \ && ln -s "$azureEnv/bin/az" /usr/local/bin/az + +# Add label for bring your own node in azure devops +LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node"