Use go install instead of deprecated go get
In go 1.18 'go install' needs to be used to install an executable. See https://go.dev/doc/go-get-install-deprecation and https://go.dev/doc/manage-install
This commit is contained in:
parent
1612d9cb80
commit
d73171fdde
4 changed files with 7 additions and 7 deletions
|
|
@ -10,7 +10,7 @@ ENV GOFLAGS=-mod=vendor
|
|||
RUN go install ./cmd/osbuild-composer/
|
||||
|
||||
FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder2
|
||||
RUN go get -u github.com/jackc/tern
|
||||
RUN go install github.com/jackc/tern@latest
|
||||
|
||||
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
|
||||
RUN microdnf install python3 python3-dnf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue