-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a custom Go build with netpoller fixes
- Loading branch information
1 parent
785ad18
commit 8833d87
Showing
2 changed files
with
44 additions
and
3 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM golang:1.23.3-alpine3.19 AS custom-go | ||
RUN apk add --no-cache build-base make git | ||
|
||
# Clone go source | ||
RUN git clone https://go.googlesource.com/go /gosource | ||
|
||
WORKDIR /gosource | ||
|
||
# Checkout go version 1.23.3 | ||
RUN git checkout go1.23.3 | ||
|
||
# Cherry pick the CL | ||
RUN git fetch https://go.googlesource.com/go refs/changes/97/564197/1 && git cherry-pick FETCH_HEAD | ||
|
||
# Build go | ||
RUN ./src/all.bash | ||
|
||
# Copy the artifacts to /export | ||
RUN mkdir -p /export | ||
RUN cp /gosource/bin/go /export/go |