From 7e4e9572ad2450447bda928525880796f06237ad Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Tue, 30 Apr 2024 10:12:26 -0400 Subject: [PATCH] :ghost: pin base images (#212) Signed-off-by: Pranav Gaikwad --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 166939f2..123be2b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/konveyor/windup-shim:latest as shim +FROM quay.io/konveyor/windup-shim:release-0.3 as shim FROM registry.access.redhat.com/ubi9-minimal as rulesets @@ -6,7 +6,7 @@ RUN microdnf -y install git &&\ git clone https://github.com/konveyor/rulesets &&\ git clone https://github.com/windup/windup-rulesets -b 6.3.1.Final -FROM quay.io/konveyor/static-report:latest as static-report +FROM quay.io/konveyor/static-report:release-0.3 as static-report # Build the manager binary FROM golang:1.19 as builder @@ -30,7 +30,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build --ldflags="-X 'github.com/kon RUN CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build --ldflags="-X 'github.com/konveyor-ecosystem/kantra/cmd.Version=$VERSION' -X 'github.com/konveyor-ecosystem/kantra/cmd.BuildCommit=$BUILD_COMMIT'" -a -o darwin-kantra main.go RUN CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build --ldflags="-X 'github.com/konveyor-ecosystem/kantra/cmd.Version=$VERSION' -X 'github.com/konveyor-ecosystem/kantra/cmd.BuildCommit=$BUILD_COMMIT'" -a -o windows-kantra main.go -FROM quay.io/konveyor/analyzer-lsp:latest +FROM quay.io/konveyor/analyzer-lsp:release-0.3 RUN mkdir /opt/rulesets /opt/rulesets/input /opt/rulesets/convert /opt/openrewrite /opt/input /opt/input/rules /opt/input/rules/custom /opt/output /opt/xmlrules /opt/shimoutput /tmp/source-app /tmp/source-app/input