Skip to content

Commit

Permalink
fix dockerfile to use release image
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn Hurley <[email protected]>
  • Loading branch information
shawn-hurley committed Apr 30, 2024
1 parent 17d2c83 commit f95c551
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ jobs:
uses: konveyor/ci/.github/workflows/global-ci.yml@main
with:
component_name: tackle2-addon-analyzer
api_tests_ref: release-0.3
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM quay.io/konveyor/windup-shim:latest as shim
FROM registry.access.redhat.com/ubi9/go-toolset:latest as addon
ENV GOPATH=$APP_ROOT
COPY --chown=1001:0 . .
RUN make cmd
RUN make build

FROM quay.io/konveyor/analyzer-lsp:latest
FROM quay.io/konveyor/analyzer-lsp:release-0.3
USER root
RUN echo -e "[centos9]" \
"\nname = centos9" \
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ PKGDIR = $(subst /...,,$(PKG))
cmd: fmt vet
go build -ldflags="-w -s" -o ${CMD} github.com/konveyor/tackle2-addon-analyzer/cmd

build:
go build -ldflags="-w -s" -o ${CMD} github.com/konveyor/tackle2-addon-analyzer/cmd

image-docker:
docker build -t ${IMG} .

Expand Down

0 comments on commit f95c551

Please sign in to comment.