diff --git a/build-certificate-monitor.jenkins b/build-certificate-monitor.jenkins index 2489f36..2779731 100644 --- a/build-certificate-monitor.jenkins +++ b/build-certificate-monitor.jenkins @@ -21,7 +21,8 @@ RUN go get -d -v ./... && \\ go build -ldflags="-s -w" -o app ./ FROM alpine:latest -RUN addgroup -S -g 1000 app && \\ +RUN apk add --no-cache ca-certificates && \\ + addgroup -S -g 1000 app && \\ adduser -S app -G app -h /app -u 1000 && \\ printf '%s\\n' \\ "-----BEGIN CERTIFICATE-----" \\ @@ -51,7 +52,7 @@ ENTRYPOINT ./app podTemplate( label: label, - name: "sonarscanner", + name: "pipeline-runner", yaml: """--- apiVersion: v1 kind: Pod