Skip to content

Commit

Permalink
👻 pin base images (konveyor#212)
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <[email protected]>
  • Loading branch information
pranavgaikwad authored Apr 30, 2024
1 parent 559df66 commit 7e4e957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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

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
Expand All @@ -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

Expand Down

0 comments on commit 7e4e957

Please sign in to comment.