Skip to content

Commit 1117f7d

Browse files
authored
[BEAM-12656] Fix go-licenses build (apache#15215)
1 parent 034ccdf commit 1117f7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

release/go-licenses/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License.
1717
###############################################################################
1818

19-
FROM golang:1.15.0-buster
19+
FROM golang:1.16.0-buster
2020
RUN go get github.com/google/go-licenses
2121
COPY get-licenses.sh /opt/apache/beam/
2222
ARG sdk_location

release/go-licenses/get-licenses.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
set -ex
2020
rm -rf /output/*
2121

22+
export GO111MODULE=off
2223
go get $sdk_location
2324

2425
go-licenses save $sdk_location --save_path=/output/licenses

0 commit comments

Comments
 (0)