Skip to content

Commit

Permalink
test: fix util image
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Sep 6, 2024
1 parent 7c50ad0 commit 03c6dfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openshift/ci-operator/knative-images/func-util/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ COPY . .
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/func-util
RUN GOFLAGS='' go build -tags strictfipsruntime,exclude_graphdriver_btrfs -o /usr/bin/main ./cmd/func-util

FROM $GO_RUNTIME

ARG VERSION=knative-nightly

RUN microdnf install tzdata socat tar

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/func-util

RUN ln -s /usr/bin/func-util /usr/local/bin/deploy && \
ln -s /usr/bin/func-util /usr/local/bin/scaffold && \
ln -s /usr/bin/func-util /usr/local/bin/s2i

USER 65532

LABEL \
com.redhat.component="openshift-serverless-1-kn-plugin-func-func-util-rhel8-container" \
name="openshift-serverless-1/kn-plugin-func-func-util-rhel8" \
Expand Down

0 comments on commit 03c6dfc

Please sign in to comment.