Closed mgencur closed 2 months ago
/hold
/unhold
Rebased. Ready for review.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mgencur, pierDipi
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Related to https://issues.redhat.com/browse/SRVCOM-3255
FROM $GO_BUILDER as builder
COPY . .
ENV CGO_ENABLED=1 ENV GOEXPERIMENT=strictfipsruntime
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/apiserver_receive_adapter
FROM $UBI8_MINIMAL
Install the missing zoneinfo to ubi-minimal
RUN microdnf install tzdata
USER 65532
COPY --from=builder /usr/bin/main /usr/bin/main
LABEL \ com.redhat.component="openshift-serverless-1-eventing-apiserver-receive-adapter-rhel8-container" \ name="openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8" \ version="$VERSION" \ summary="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter" \ maintainer="serverless-support@redhat.com" \ description="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter" \ io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter"
ENTRYPOINT ["/usr/bin/main"]
base_images: ocp_ubi-minimal_8: name: ubi-minimal namespace: ocp tag: "8" openshift_release_rhel-8-release-golang-1.22-openshift-4.17: name: release namespace: openshift tag: rhel-8-release-golang-1.22-openshift-4.17 images:
Next steps after merging this PR would be: