From 9ea2622592db4caa66bfd99ad79f0808b7cf394e Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Fri, 21 Jun 2024 15:29:37 +0200 Subject: [PATCH 1/3] Add .NET 8 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 658f98167d..e6bc1e428f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:21.7.3-bookworm-slim AS base +FROM ghcr.io/swissgrc/azure-pipelines-node:20.15.0-net8 AS base # Prerequisites From f722d00442b6ee8c8e8f75329d03956c8b039aa5 Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Sun, 23 Jun 2024 09:59:15 +0200 Subject: [PATCH 2/3] Update to Node 22.3.0 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e6bc1e428f..8ec5e5eb19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/swissgrc/azure-pipelines-node:20.15.0-net8 AS base +FROM ghcr.io/swissgrc/azure-pipelines-node:22.3.0-net8 AS base # Prerequisites From 262b34b3dd68decb5a409e3c1352c6500ead4f28 Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Sun, 23 Jun 2024 10:01:51 +0200 Subject: [PATCH 3/3] Remove CACertificates installation, since it is already in the base image --- Dockerfile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ec5e5eb19..7caca278b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,5 @@ FROM ghcr.io/swissgrc/azure-pipelines-node:22.3.0-net8 AS base -# Prerequisites - -# renovate: datasource=repology depName=debian_12/ca-certificates versioning=loose -ENV CACERTIFICATES_VERSION=20230311 - -# Ca-Certificates is required for connection to Azure DevOps -RUN apt-get update -y && \ - apt-get install -y --no-install-recommends ca-certificates=${CACERTIFICATES_VERSION} && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - FROM base AS build # Make sure to fail due to an error at any stage in shell pipes