From 397d17081d45584bb4d7f806f630afbc2ff75aa6 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Mon, 15 May 2023 08:33:26 -0500 Subject: [PATCH] adds upgrade to alpine step to pull in new updated --- build-alpine.jenkins | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-alpine.jenkins b/build-alpine.jenkins index 7af91b1..9cefcc0 100644 --- a/build-alpine.jenkins +++ b/build-alpine.jenkins @@ -38,15 +38,15 @@ pipeline { LABEL org.opencontainers.image.authors="The_Spider " LABEL org.opencontainers.image.title="alpine" -COPY test-chamber-13.lan.root.crt test-chamber-13.lan.ret.root.crt /usr/local/share/ca-certificates/ +COPY test-chamber-13.lan.root.crt /usr/local/share/ca-certificates/ RUN apk add --no-cache --virtual=.packagecache ca-certificates && \\ update-ca-certificates --fresh && \\ apk del .packagecache && \\ - sed -i 's/dl-cdn.alpinelinux.org/nexus.c.test-chamber-13.lan\\/repository/g' /etc/apk/repositories + sed -i 's/dl-cdn.alpinelinux.org/nexus.c.test-chamber-13.lan\\/repository/g' /etc/apk/repositories && \\ + apk --no-cache upgrade """ writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getRetiredRootCA()) - writeFile(file: workspace + "/test-chamber-13.lan.ret.root.crt", text: functions.getCurrentRootCA()) } } }