Skip to content

Commit

Permalink
Merge pull request #7 from krishvoor/netpol-scraper-images
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
Russell Zaleski authored May 31, 2024
2 parents e4d9685 + 7118ac6 commit 93a35c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions perfapp/Containerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM registry.access.redhat.com/ubi8/ubi:latest as builder
ARG TARGETARCH
RUN dnf clean all && dnf install -y golang
COPY . /perfApp
RUN cd perfApp && GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -o perfApp cmd/perfApp/perfApp.go
RUN cd perfApp && CGO_ENABLED=0 go build -o perfApp cmd/perfApp/perfApp.go

FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
MAINTAINER Raúl Sevilla
Expand Down

0 comments on commit 93a35c9

Please sign in to comment.