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()) } } }