-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to recent changes, the plugin image build has failed. The following changes has been added: 1. Fixing the command name in the DaemonSet spec 2. Pin golang to 1.20 3. Running the go build command with the right arguments 4. changing CGO_ENABLED=0 - The binary failed to execute and complains about GLIBC_2.32 not found. Running with CGO_ENABLED=0 build a binary that doesn't depend on glibc: golang/go#57328 (comment) Signed-off-by: Talor Itzhak <[email protected]>
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM golang | ||
FROM golang:1.20 | ||
COPY build/bin/mixedcpu /bin/mixedcpu | ||
ENTRYPOINT [ "/bin/mixedcpu" ] | ||
ENTRYPOINT [ "/bin/mixedcpu" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters