Skip to content

Commit fd09bcf

Browse files
committed
Add comments, apply "update.sh"
1 parent 0f93390 commit fd09bcf

File tree

7 files changed

+56
-9
lines changed

7 files changed

+56
-9
lines changed

1.10/alpine3.7/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ RUN set -eux; \
5151
done; \
5252
./make.bash; \
5353
\
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+
; \
5562
apk del .build-deps; \
5663
\
5764
export PATH="/usr/local/go/bin:$PATH"; \

1.10/alpine3.8/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ RUN set -eux; \
5151
done; \
5252
./make.bash; \
5353
\
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+
; \
5562
apk del .build-deps; \
5663
\
5764
export PATH="/usr/local/go/bin:$PATH"; \

1.11-rc/alpine3.7/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ RUN set -eux; \
5151
done; \
5252
./make.bash; \
5353
\
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+
; \
5562
apk del .build-deps; \
5663
\
5764
export PATH="/usr/local/go/bin:$PATH"; \

1.11-rc/alpine3.8/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ RUN set -eux; \
5151
done; \
5252
./make.bash; \
5353
\
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+
; \
5562
apk del .build-deps; \
5663
\
5764
export PATH="/usr/local/go/bin:$PATH"; \

1.9/alpine3.7/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ RUN set -eux; \
5151
done; \
5252
./make.bash; \
5353
\
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+
; \
5562
apk del .build-deps; \
5663
\
5764
export PATH="/usr/local/go/bin:$PATH"; \

1.9/alpine3.8/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ RUN set -eux; \
5151
done; \
5252
./make.bash; \
5353
\
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+
; \
5562
apk del .build-deps; \
5663
\
5764
export PATH="/usr/local/go/bin:$PATH"; \

Dockerfile-alpine.template

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ RUN set -eux; \
5151
done; \
5252
./make.bash; \
5353
\
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+
; \
5762
apk del .build-deps; \
5863
\
5964
export PATH="/usr/local/go/bin:$PATH"; \

0 commit comments

Comments
 (0)