Update 'build-vlmcsd.jenkins'

This commit is contained in:
Hyatt 2021-11-30 15:56:12 +00:00
parent cfa6c5c648
commit 1f142ad6df

View File

@ -95,7 +95,7 @@ COPY --from=build --chown=1000:1000 /vlmcsd/bin/vlmcsd /vlmcsd/etc/vlmcsd.kmd /h
ENTRYPOINT ["/bin/sh" "-c" "./vlmcsd -L 0.0.0.0:1688 -m 5 -t 5 -e -N1 -B1 -r1 -C 1033 -R 1w -A 1h -H 36446 -v -D -j ./vlmcsd.kmd"] ENTRYPOINT ["/bin/sh" "-c" "./vlmcsd -L 0.0.0.0:1688 -m 5 -t 5 -e -N1 -B1 -r1 -C 1033 -R 1w -A 1h -H 36446 -v -D -j ./vlmcsd.kmd"]
""" """
writeFile (file: workspace + "/Dockerfile", text: dockerfile) writeFile (file: workspace + "/Dockerfile", text: dockerfile)
sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/statafactory-server:latest\"" sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/vlmcsd:latest\""
} }
} }
} }