File tree 7 files changed +56
-9
lines changed 7 files changed +56
-9
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ RUN set -eux; \
51
51
done; \
52
52
./make.bash; \
53
53
\
54
- rm -rf /go-alpine-patches; \
54
+ rm -rf \
55
+ /go-alpine-patches \
56
+ # https://github.com/golang/go/blob/0b30cf534a03618162d3015c8705dd2231e34703/src/cmd/dist/buildtool.go#L121-L125
57
+ /usr/local/go/pkg/bootstrap \
58
+ # https://golang.org/cl/82095
59
+ # https://github.com/golang/build/blob/e3fe1605c30f6a3fd136b561569933312ede8782/cmd/release/releaselet.go#L56
60
+ /usr/local/go/pkg/obj \
61
+ ; \
55
62
apk del .build-deps; \
56
63
\
57
64
export PATH="/usr/local/go/bin:$PATH" ; \
Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ RUN set -eux; \
51
51
done; \
52
52
./make.bash; \
53
53
\
54
- rm -rf /go-alpine-patches; \
54
+ rm -rf \
55
+ /go-alpine-patches \
56
+ # https://github.com/golang/go/blob/0b30cf534a03618162d3015c8705dd2231e34703/src/cmd/dist/buildtool.go#L121-L125
57
+ /usr/local/go/pkg/bootstrap \
58
+ # https://golang.org/cl/82095
59
+ # https://github.com/golang/build/blob/e3fe1605c30f6a3fd136b561569933312ede8782/cmd/release/releaselet.go#L56
60
+ /usr/local/go/pkg/obj \
61
+ ; \
55
62
apk del .build-deps; \
56
63
\
57
64
export PATH="/usr/local/go/bin:$PATH" ; \
Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ RUN set -eux; \
51
51
done; \
52
52
./make.bash; \
53
53
\
54
- rm -rf /go-alpine-patches; \
54
+ rm -rf \
55
+ /go-alpine-patches \
56
+ # https://github.com/golang/go/blob/0b30cf534a03618162d3015c8705dd2231e34703/src/cmd/dist/buildtool.go#L121-L125
57
+ /usr/local/go/pkg/bootstrap \
58
+ # https://golang.org/cl/82095
59
+ # https://github.com/golang/build/blob/e3fe1605c30f6a3fd136b561569933312ede8782/cmd/release/releaselet.go#L56
60
+ /usr/local/go/pkg/obj \
61
+ ; \
55
62
apk del .build-deps; \
56
63
\
57
64
export PATH="/usr/local/go/bin:$PATH" ; \
Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ RUN set -eux; \
51
51
done; \
52
52
./make.bash; \
53
53
\
54
- rm -rf /go-alpine-patches; \
54
+ rm -rf \
55
+ /go-alpine-patches \
56
+ # https://github.com/golang/go/blob/0b30cf534a03618162d3015c8705dd2231e34703/src/cmd/dist/buildtool.go#L121-L125
57
+ /usr/local/go/pkg/bootstrap \
58
+ # https://golang.org/cl/82095
59
+ # https://github.com/golang/build/blob/e3fe1605c30f6a3fd136b561569933312ede8782/cmd/release/releaselet.go#L56
60
+ /usr/local/go/pkg/obj \
61
+ ; \
55
62
apk del .build-deps; \
56
63
\
57
64
export PATH="/usr/local/go/bin:$PATH" ; \
Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ RUN set -eux; \
51
51
done; \
52
52
./make.bash; \
53
53
\
54
- rm -rf /go-alpine-patches; \
54
+ rm -rf \
55
+ /go-alpine-patches \
56
+ # https://github.com/golang/go/blob/0b30cf534a03618162d3015c8705dd2231e34703/src/cmd/dist/buildtool.go#L121-L125
57
+ /usr/local/go/pkg/bootstrap \
58
+ # https://golang.org/cl/82095
59
+ # https://github.com/golang/build/blob/e3fe1605c30f6a3fd136b561569933312ede8782/cmd/release/releaselet.go#L56
60
+ /usr/local/go/pkg/obj \
61
+ ; \
55
62
apk del .build-deps; \
56
63
\
57
64
export PATH="/usr/local/go/bin:$PATH" ; \
Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ RUN set -eux; \
51
51
done; \
52
52
./make.bash; \
53
53
\
54
- rm -rf /go-alpine-patches; \
54
+ rm -rf \
55
+ /go-alpine-patches \
56
+ # https://github.com/golang/go/blob/0b30cf534a03618162d3015c8705dd2231e34703/src/cmd/dist/buildtool.go#L121-L125
57
+ /usr/local/go/pkg/bootstrap \
58
+ # https://golang.org/cl/82095
59
+ # https://github.com/golang/build/blob/e3fe1605c30f6a3fd136b561569933312ede8782/cmd/release/releaselet.go#L56
60
+ /usr/local/go/pkg/obj \
61
+ ; \
55
62
apk del .build-deps; \
56
63
\
57
64
export PATH="/usr/local/go/bin:$PATH" ; \
Original file line number Diff line number Diff line change @@ -51,9 +51,14 @@ RUN set -eux; \
51
51
done; \
52
52
./make.bash; \
53
53
\
54
- rm -rf /usr/local/go/pkg/bootstrap; \
55
- rm -rf /usr/local/go/pkg/obj/go-build/; \
56
- rm -rf /go-alpine-patches; \
54
+ rm -rf \
55
+ /go-alpine-patches \
56
+ # https://github.com/golang/go/blob/0b30cf534a03618162d3015c8705dd2231e34703/src/cmd/dist/buildtool.go#L121-L125
57
+ /usr/local/go/pkg/bootstrap \
58
+ # https://golang.org/cl/82095
59
+ # https://github.com/golang/build/blob/e3fe1605c30f6a3fd136b561569933312ede8782/cmd/release/releaselet.go#L56
60
+ /usr/local/go/pkg/obj \
61
+ ; \
57
62
apk del .build-deps; \
58
63
\
59
64
export PATH="/usr/local/go/bin:$PATH"; \
You can’t perform that action at this time.
0 commit comments