Skip to content

Commit bd8130e

Browse files
authored
Add Node to Alpine 3.21 (#1296)
1 parent a397a76 commit bd8130e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/alpine/3.21/amd64/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM amd64/alpine:3.21
22

3-
# Install .NET and test dependencies
43
RUN apk add --upgrade --no-cache \
4+
# Install .NET and test dependencies
55
autoconf \
66
automake \
77
bash \
@@ -52,7 +52,10 @@ RUN apk add --upgrade --no-cache \
5252
userspace-rcu \
5353
util-linux-dev \
5454
which \
55-
zlib-dev
55+
zlib-dev \
56+
\
57+
# Azure DevOps container job requirements
58+
nodejs
5659

5760
# Install the latest non-preview powershell release.
5861
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" \
7073
&& "$azureEnv/bin/python" -m pip install --upgrade setuptools \
7174
&& "$azureEnv/bin/python" -m pip install azure-cli \
7275
&& ln -s "$azureEnv/bin/az" /usr/local/bin/az
76+
77+
# Add label for bring your own node in azure devops
78+
LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node"

0 commit comments

Comments
 (0)