github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/tools/golang_patched_dce/README.md (about) 1 # Golang Docker image with DCE patches 2 3 ## Overview 4 5 This is a Docker image that contains patched Go stdlib, namely: 6 7 * [ad1d54f.diff](ad1d54f.diff) - https://golang.org/cl/210284 8 9 ## Building 10 11 ``` 12 $ docker build -t golang-patched-dce . 13 ... 14 Successfully tagged golang-patched-dce:latest 15 ``` 16 17 ## Usage 18 19 ``` 20 $ docker run --rm -it -u $(id -u):$(id -g) \ 21 -v $(go env GOPATH)/src:/go/src \ 22 -v $(go env GOCACHE):/go/.cache \ 23 -v $PWD:/out \ 24 golang-patched-dce sh -c 'go build github.com/u-root/u-root && \ 25 ./u-root -build=bb -o /out/initramfs' 26 ```