You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/15 19:14:22 UTC

[GitHub] [beam] lostluck commented on a diff in pull request #21896: Use Go 1.18 for go-licenses

lostluck commented on code in PR #21896:
URL: https://github.com/apache/beam/pull/21896#discussion_r898325924


##########
release/go-licenses/Dockerfile:
##########
@@ -16,8 +16,11 @@
 # limitations under the License.
 ###############################################################################
 
-FROM golang:1.16-bullseye
-RUN go get github.com/google/go-licenses@v1.0.0
+FROM golang:1.18-bullseye
+
+WORKDIR /usr/src/app
+COPY go.mod ./
+RUN go install github.com/google/go-licenses@v1.0.0

Review Comment:
   We should file an issue to bump the version to the [latest version (1.2.1)](https://pkg.go.dev/github.com/google/go-licenses@v1.2.1). Since we're trying to unblock things, we're probably fine not doing it in this PR.
   
   I'd consider just making the target @latest instead though, it's unlikely to cause breaking changes, and allow additional license detection over time.
   https://github.com/google/go-licenses/tags
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org