File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ $(HOST_BUILD_DIR)/crc-embedder: $(SOURCES)
110110 go build --tags=" build" -ldflags=" $( LDFLAGS) " -o $(HOST_BUILD_DIR ) /crc-embedder $(GO_EXTRA_BUILDFLAGS ) ./cmd/crc-embedder
111111
112112.PHONY : cross # # Cross compiles all binaries
113- cross : $(BUILD_DIR ) /macos-arm64/crc $(BUILD_DIR ) /macos-amd64/crc $(BUILD_DIR ) /linux-amd64/crc $(BUILD_DIR ) /windows-amd64/crc.exe
113+ cross : $(BUILD_DIR ) /macos-arm64/crc $(BUILD_DIR ) /macos-amd64/crc $(BUILD_DIR ) /linux-amd64/crc $(BUILD_DIR ) /linux-arm64/crc $( BUILD_DIR ) / windows-amd64/crc.exe
114114
115115.PHONY : containerized # # Cross compile from container
116116containerized : clean
Original file line number Diff line number Diff line change 1- FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19
1+ FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19 AS builder
22MAINTAINER CRC <
[email protected] >
33
4- WORKDIR $APP_ROOT /src
4+ WORKDIR /opt /src
55COPY . .
6+ RUN make cross
7+
8+ FROM registry.access.redhat.com/ubi9/ubi
9+ COPY --from=builder /opt/src/out/ /opt/
You can’t perform that action at this time.
0 commit comments