From 1ce1da65c1695949dc52f2ae3cd581f9fc7e4c5f Mon Sep 17 00:00:00 2001 From: Bharath Horatti Date: Thu, 22 Dec 2022 13:03:51 +0000 Subject: [PATCH 1/2] Upgraded alpine version in build Signed-off-by: Bharath Horatti --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac49359..c65004e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,6 @@ CMD go test -test.v ./... FROM test as debug CMD dlv -l :40000 --headless=true --api-version=2 test -test.v ./... -FROM alpine as runtime +FROM alpine:3.16.2 as runtime COPY --from=build /bin/app /bin/app -ENTRYPOINT ["/bin/app"] \ No newline at end of file +ENTRYPOINT ["/bin/app"] From fb71d52ccadac5a12d0e74c8da8c86901160667b Mon Sep 17 00:00:00 2001 From: Richie Sebastian <104349170+richiesebastian@users.noreply.github.com> Date: Fri, 23 Dec 2022 00:13:43 +0530 Subject: [PATCH 2/2] fix(): releasing latest changes --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..09a0aca --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,9 @@ +@Library('jenkins-library@opensource-release') _ +dockerImagePipeline( + script: this, + service: 'cmd-nsc-init', + dockerfile: 'Dockerfile', + buildContext: '.', + buildArguments: [PLATFORM:"amd64"] + +)