From fac3ef01c6bc5796ad86b24469ebfc1b245adf91 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 17 Nov 2021 14:41:30 +0100 Subject: [PATCH] build: use golang:1.16 as runtime container for retest action It seems that building the `retest` action makes it consume shared libraries that are not part of the `scratch` base container layer. By using the golang:1.16 container image as a base, all required shared libraries are available. Signed-off-by: Niels de Vos --- actions/retest/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/retest/Dockerfile b/actions/retest/Dockerfile index 8d166cbd7..f8eea3215 100644 --- a/actions/retest/Dockerfile +++ b/actions/retest/Dockerfile @@ -10,7 +10,7 @@ WORKDIR ${WORK_DIR} RUN go build -mod=vendor -o retest ./main.go -FROM scratch +FROM ${BASE_IMAGE} ARG WORK_DIR