adds ca-certificates package
This commit is contained in:
parent
ec88194e26
commit
a87a6ff79b
@ -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
|
||||
|
Reference in New Issue
Block a user