Forgot to copy the cert in.
This commit is contained in:
parent
2d7a2c5d1c
commit
d674162b08
@ -65,6 +65,7 @@ spec:
|
|||||||
container ("kaniko") {
|
container ("kaniko") {
|
||||||
def dockerfile = """
|
def dockerfile = """
|
||||||
FROM quay.io/coreos/clair:v2.1.4
|
FROM quay.io/coreos/clair:v2.1.4
|
||||||
|
COPY ${caName} /usr/local/share/ca-certificates/
|
||||||
RUN update-ca-certificates --fresh
|
RUN update-ca-certificates --fresh
|
||||||
"""
|
"""
|
||||||
writeFile (file: workspace + "/${caName}", text: caContent)
|
writeFile (file: workspace + "/${caName}", text: caContent)
|
||||||
|
Reference in New Issue
Block a user