File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ RUN yum install -y \
4040ENV HOME /home
4141
4242# Lock Go Lang version to stable
43- RUN export GO_STABLE_VERSION=`curl --silent https://go.dev/VERSION?m=text | cut -d "o" -f 2`; \
43+ RUN export GO_STABLE_OUTPUT=`curl --silent https://go.dev/VERSION?m=text | cut -d "o" -f 2`; \
44+ IFS=$'\n' GO_STABLE_VERSION=($GO_STABLE_OUTPUT); \
4445 echo "Using go:stable version ${GO_STABLE_VERSION}"; \
4546 gimme ${GO_STABLE_VERSION}; \
4647 ln -s /home/.gimme/versions/go${GO_STABLE_VERSION}.linux.arm64 /home/.gimme/versions/gostable.linux.arm64; \
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ RUN yum upgrade -y && yum install -y tar gzip git
66ENV HOME /home
77
88# Lock Go Lang version to stable
9- RUN export GO_STABLE_VERSION=`curl --silent https://go.dev/VERSION?m=text | cut -d "o" -f 2`; \
9+ RUN export GO_STABLE_OUTPUT=`curl --silent https://go.dev/VERSION?m=text | cut -d "o" -f 2`; \
10+ IFS=$'\n' GO_STABLE_VERSION=($GO_STABLE_OUTPUT); \
1011 echo "Using go:stable version ${GO_STABLE_VERSION}"; \
1112 gimme ${GO_STABLE_VERSION}; \
1213 ln -s /home/.gimme/versions/go${GO_STABLE_VERSION}.linux.arm64 /home/.gimme/versions/gostable.linux.arm64; \
You can’t perform that action at this time.
0 commit comments