Skip to content

Commit

Permalink
build: fix openshift image, update to ubi9
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed May 22, 2023
1 parent f1a0aad commit e38dabd
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Dockerfile-openshift
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Step one: build scapresults
FROM registry.access.redhat.com/ubi8/go-toolset as builder
COPY . .
FROM registry.access.redhat.com/ubi9/go-toolset as builder
COPY go.mod go.mod
COPY go.sum go.sum
COPY *.go ./
COPY ./cmd/metro2 ./cmd/metro2
COPY ./pkg ./pkg
COPY ./test ./test
COPY makefile makefile
RUN make build

FROM registry.access.redhat.com/ubi8/ubi-minimal
FROM registry.access.redhat.com/ubi9/ubi-minimal

ARG VERSION=unknown
LABEL maintainer="Moov <oss@moov.io>"
Expand Down

0 comments on commit e38dabd

Please sign in to comment.