-
Notifications
You must be signed in to change notification settings - Fork 473
DL3062
Moritz Röhrich edited this page Sep 24, 2025
·
1 revision
Any of the following
RUN go install foobar
RUN go install barfoo@latest
RUN go get foobar
RUN go get barfoo@latest
RUN go run foobar
RUN go run barfoo@latestPin the versions of your dependencies or use code from the local filesystem:
RUN go install [email protected]
RUN go install [email protected]
RUN go get [email protected]
RUN go get [email protected]
RUN go run [email protected]
RUN go run [email protected]
RUN go run .
RUN go run /go/app/foobarVersion pinning helps avoid unanticipated changes to the code and behavior. It also makes changes to dependencies obvious in source control systems and helps make builds more reproducible.