flattens layers

This commit is contained in:
Hyatt 2021-05-30 11:32:47 -05:00
parent 01b3fe2de5
commit 9353ec7e06
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -69,7 +69,7 @@ RUN apk add --no-cache --virtual=.packagecache ca-certificates && \\
apk del .packagecache apk del .packagecache
""" """
writeFile(file: workspace + "/Dockerfile", text: DF) writeFile(file: workspace + "/Dockerfile", text: DF)
sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/alpine:latest\"" sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/alpine:latest\" --single-snapshot"
} }
} }
} }