File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ ARG BUILD_TYPE=release
15
15
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23 AS builder-release
16
16
ARG YQ_VERSION=v4.35.1
17
17
18
- # the build process assumes go is under "/go", so let's make sure it works
19
- RUN ln -s /opt/app-root/src/go /go
20
18
RUN GOFLAGS="" go install github.com/mikefarah/yq/v4@$YQ_VERSION
21
19
# This registering RHEL when building on an unsubscribed system
22
20
# If you are running a UBI container on a registered and subscribed RHEL host,
@@ -57,8 +55,8 @@ COPY cloud-api-adaptor/proto ./proto
57
55
58
56
# Set the desired cloud providers for our downstream build (not upsream default)
59
57
ENV BUILTIN_CLOUD_PROVIDERS="strictfipsruntime aws azure ibmcloud vsphere libvirt gcp"
60
- # Make sure the PATH and GOPATH are set appropriately - our builder image being different, the upstream scripts fail otherwise
61
- ENV PATH=/opt/app-root/src/go /bin:$PATH
58
+ # Make sure the PATH is set appropriately - our builder image being different, the upstream scripts fail otherwise
59
+ ENV PATH=$GOPATH /bin:$PATH
62
60
RUN CC=gcc make ARCH=$TARGETARCH COMMIT=$COMMIT VERSION=$VERSION RELEASE_BUILD=$RELEASE_BUILD cloud-api-adaptor
63
61
64
62
# FROM builder-release AS iptables
You can’t perform that action at this time.
0 commit comments