From 1a91e7925f7ada861a9587e6203e1e4856aa5164 Mon Sep 17 00:00:00 2001 From: Patrick Hobusch Date: Wed, 29 Nov 2023 17:59:27 +0800 Subject: [PATCH] Make image compatible with Azure DevOps pipelines According to https://learn.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d41f2bd..9cad30b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,10 +32,13 @@ RUN apk add --no-cache \ libffi-dev \ make \ musl-dev \ + nodejs \ openssl-dev \ postgresql \ py3-pip \ - python3-dev + python3-dev \ + shadow \ + sudo ARG AZ_VERSION @@ -51,6 +54,10 @@ RUN wget "https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAG USER ${USER} +## Set label for Azure DevOps Pipelines + +LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node" + ## Adjust WORKDIR and remove ENTRYPOINT FROM base image WORKDIR ${HOME}