File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,10 @@ ENV GOLANG_CROSSPLATFORMS \
19
19
# (set an explicit GOARM of 5 for maximum ARM compatibility)
20
20
ENV GOARM 5
21
21
22
- RUN bash -xec '\
23
- cd /usr/src/go/src; \
24
- for platform in $GOLANG_CROSSPLATFORMS; do \
25
- GOOS=${platform%/*} \
26
- GOARCH=${platform##*/} \
27
- ./make.bash --no-clean 2>&1; \
28
- done \
29
- '
22
+ RUN cd /usr/src/go/src \
23
+ && set -ex \
24
+ && for platform in $GOLANG_CROSSPLATFORMS; do \
25
+ GOOS=${platform%/*} \
26
+ GOARCH=${platform##*/} \
27
+ ./make.bash --no-clean 2>&1; \
28
+ done
Original file line number Diff line number Diff line change @@ -21,11 +21,10 @@ ENV GOLANG_CROSSPLATFORMS \
21
21
# (set an explicit GOARM of 5 for maximum ARM compatibility)
22
22
ENV GOARM 5
23
23
24
- RUN bash -xec '\
25
- cd /usr/src/go/src; \
26
- for platform in $GOLANG_CROSSPLATFORMS; do \
27
- GOOS=${platform%/*} \
28
- GOARCH=${platform##*/} \
29
- ./make.bash --no-clean 2>&1; \
30
- done \
31
- '
24
+ RUN cd /usr/src/go/src \
25
+ && set -ex \
26
+ && for platform in $GOLANG_CROSSPLATFORMS; do \
27
+ GOOS=${platform%/*} \
28
+ GOARCH=${platform##*/} \
29
+ ./make.bash --no-clean 2>&1; \
30
+ done
You can’t perform that action at this time.
0 commit comments