Skip to content

Commit

Permalink
[BEAM-12656] Fix go-licenses build (#15215) (#15222)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1117f7d)
  • Loading branch information
lostluck authored Jul 28, 2021
1 parent ca866af commit eaf5776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion release/go-licenses/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.
###############################################################################

FROM golang:1.15.0-buster
FROM golang:1.16.0-buster
RUN go get github.com/google/go-licenses
COPY get-licenses.sh /opt/apache/beam/
ARG sdk_location
Expand Down
1 change: 1 addition & 0 deletions release/go-licenses/get-licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
set -ex
rm -rf /output/*

export GO111MODULE=off
go get $sdk_location

go-licenses save $sdk_location --save_path=/output/licenses
Expand Down

0 comments on commit eaf5776

Please sign in to comment.