From 53ce16a1080bfae5db0c99b21333c089edbf4d4c Mon Sep 17 00:00:00 2001 From: Filip Strozik Date: Tue, 28 May 2024 10:45:35 +0200 Subject: [PATCH] Static apache2 version in the gitserver image (#1001) --- tests/gitserver/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/gitserver/Dockerfile b/tests/gitserver/Dockerfile index 8c827c846..550ae2bb5 100644 --- a/tests/gitserver/Dockerfile +++ b/tests/gitserver/Dockerfile @@ -1,6 +1,9 @@ FROM alpine:3.20 -RUN apk add --no-cache git-daemon apache2 apache2-utils && \ +RUN apk add --no-cache git-daemon && \ + # apache2 and apache2-utils need to be in version smaller or equal to 2.4.58-r0 + # issue: https://github.com/kyma-project/serverless/issues/998 + apk add --no-cache apache2=2.4.58-r0 apache2-utils=2.4.58-r0 --repository http://dl-cdn.alpinelinux.org/alpine/v3.15/main && \ apk upgrade --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \ expat